p <- ggplot(iris,
mapping = aes(Sepal.Length = Sepal.Length,
Sepal.Width = Sepal.Width,
Petal.Length = Petal.Length,
Petal.Width = Petal.Width,
colour = Species))
p +
geom_serialaxes_density(position = position_stack_())
# \donttest{
p +
geom_serialaxes_density(position = position_stack())
# }
Run the code above in your browser using DataLab