ggplot2-solutions icon indicating copy to clipboard operation
ggplot2-solutions copied to clipboard

Exercises 3.5.5: use round()

Open HossamGhorab opened this issue 3 years ago • 0 comments

In question #2: https://github.com/kangnade/ggplot2-solutions/blob/e6ef9e3b271599f6e97afc0f8a3f012f276f9385/ggplot2_solutions_chapter3.Rmd#L63 The task is a boxplot for every integer value of displ, which is a continuous variable so round() is required. Consider replacing line #63 with: geom_boxplot(aes(group = round(displ)))

Warmly, Hossam

HossamGhorab avatar Sep 26 '21 14:09 HossamGhorab