Skip to content

Commit

Permalink
Update boxplot.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jtr13 authored Sep 10, 2019
1 parent d44fd24 commit db24d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boxplot.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ggplot(chickwts, aes(x = reorder(feed, -weight, median), y = weight)) +
Data frames that contain a separate column of values for each desired boxplot must be tidied first. (For more detail on using `tidy::gather()`, see [this tutorial](https://github.com/jtr13/codehelp/blob/master/R/gather.md){target="_blank"}.)
```{r}
```{r, message=FALSE}
library(tidyverse)
head(attitude)
tidyattitude <- attitude %>% gather(key = "question", value = "rating")
Expand Down

0 comments on commit db24d27

Please sign in to comment.