I will use scripted graphs as an example, but the question extends to many other types of ggplot.
I know how to multiply my x-axis data at one time:
ggplot(iris, aes(x = Species, y = Sepal.Length)) +
geom_violin() +
geom_point(position = "jitter")

And I know how to build only a complete data set:
ggplot(iris, aes(x = 1, y = Sepal.Length)) +
geom_violin() +
geom_point(position = "jitter")

My question is: is there a way to build complete data and a subset individually in the same plot? In other words, for the diaphragm data, could I make a violin plot that has both โfull dataโ and โsetoseโ along the x axis?
This will allow you to compare the distribution of the full data set and a subset of this data set. If this is not possible, any recommendations on a better way to visualize this would also be welcome :)
Thanks for any ideas!