Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmcdermott authored Aug 27, 2023
1 parent e016c4d commit b3fe6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ base R.
aq = airquality
aq$Month = factor(month.abb[aq$Month], levels = month.abb[5:9])

# with(aq, plot2(Temp ~ Day)) # atomic method (same as below)
# with(aq, plot2(Day, Temp)) # atomic method (same as below)
plot2(Temp ~ Day, data = aq) # formula method
```

Expand All @@ -111,7 +111,7 @@ respect to grouped data. In particular, `plot2` allows you to
characterize groups using the `by` argument.[^1]

``` r
# plot2($Day, aq$Temp, by = aq$Month) # same as below
# plot2(aq$Day, aq$Temp, by = aq$Month) # same as below
with(aq, plot2(Day, Temp, by = Month))
```

Expand Down

0 comments on commit b3fe6f2

Please sign in to comment.