UBC-DSCI / introduction-to-datascience

Open Source Textbook for DSCI100: Introduction to Data Science in R
https://datasciencebook.ca/
Other
50 stars 54 forks source link

Correct parameter name in `facet_grid` #448

Closed joelostblom closed 1 year ago

joelostblom commented 1 year ago

The parameter used for faceting into columns is called cols rather than columns https://ggplot2.tidyverse.org/reference/facet_grid.html. I noticed this when going through the slides for DSCI-100.

trevorcampbell commented 1 year ago

Great catch -- thank you!