library(ggplot2)
<- 100
N <- data.frame(
some_trees height = runif(N, 0, 5),
leaf_color = sample(c('red', 'brown', 'yellow'), N, replace = TRUE)
)
ggplot(some_trees, aes(height)) +
geom_histogram(binwidth = 1) +
facet_wrap(~leaf_color)
Trees project
Trees-In-Canada lists x, y, z about trees.