Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The grouping aesthetic does not need to be provided if a categorical variable is
iris_num <- transform(iris, Species_num = as.numeric(Species))

# does not work, causes error
# ggplot(iris_num, aes(x = Sepal.Length, y = Species)) + geom_density_ridges()
# ggplot(iris_num, aes(x = Sepal.Length, y = Species_num)) + geom_density_ridges()

# works
ggplot(iris_num, aes(x = Sepal.Length, y = Species_num, group = Species_num)) +
Expand Down