You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a simple, quick histogram without any tweaks I'd go with qplot(Nile). If you keep the geom_histogram() example in, there's a mistake. Should be: ggplot(dn) + geom_histogram(aes(Nile)) without the dn in geom_histogram()
library(ggplot2)
qplot(Nile)
#> Don't know how to automatically pick scale for object of type ts. Defaulting to continuous.#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Right. In my essay, I say: "(Things would be simpler for Tidy instructors if they were to use
qplot() in the ggplot2 package, but as far as I know, few if any Tidy courses do this.)" Actually, this is a part of the Tidy story that still mystifies me; why don't they use qplot()?
TidyverseSkeptic/README.md
Line 147 in 2c813c2
For a simple, quick histogram without any tweaks I'd go with
qplot(Nile)
. If you keep thegeom_histogram()
example in, there's a mistake. Should be:ggplot(dn) + geom_histogram(aes(Nile))
without thedn
ingeom_histogram()
Created on 2022-04-04 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: