Plots a simple strip chart of the observations with group means and grand mean.
Plots a simple strip chart of the observations with group means and grand mean.
A strip chart of the first argument grouped by the second argument is produced. This function is useful for looking at experimental data with a numeric response and a factorial predictor.
meansplot(y, grp)
Arguments
y: a vector of observed values
grp: a factor of the same length as the observation vector indicating the treatment under which each observation was obtained
Returns
none returned: the function is used for the plot it produces
References
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.