I'm using ggplot2 function geom_boxplot() to create boxplots of my data.
Similarly to this question, I'd like to get the quantile values used for the creation of the boxplot, e.g., in a matrix. Is there a way to print out the values used within geom_boxplot()?
Probably the easiest way is to use an outside of
ggplot
aggregate, but here's how to do it withggplot
, using the functionggplot_build
on a created plot: