Stripchart to ggplot2
Any idea how to draw striptease in ggplot2? An example in R base will be inserted below.
stripchart(iris$Sepal.Length, col = "red", method="stack")
+3
Andrej
source
to share
1 answer
You can use geom_dotplot
:
library(ggplot2) ggplot(iris, aes(x = Sepal.Length)) + geom_dotplot()
+4
Sven Hohenstein
source
to share