The EnvStats functions listed below are useful for creating plots with the ggplot2 package.

Details

Function NameDescription
geom_stripchartAdaptation of the EnvStats function stripChart,
used to create a strip plot using functions from the package
ggplot2.
stat_n_textAdd text indicating the sample size
to a ggplot2 plot.
stat_mean_sd_textAdd text indicating the mean and standard deviation
to a ggplot2 plot.
stat_median_iqr_textAdd text indicating the median and interquartile range
to a ggplot2 plot.
stat_test_textAdd text indicating the results of a hypothesis test
comparing groups to a ggplot2 plot.