meansplot {evidence}R Documentation

Plots a simple strip chart of the observations with group means and grand mean.

Description

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.

Usage

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

Value

none returned: the function is used for the plot it produces

Author(s)

Robert van Hulst

References

van Hulst, R. 2018. Evaluating Scientific Evidence. ms.

See Also

stripchart

Examples

data(PlantGrowth)
with(PlantGrowth, meansplot(weight, group))

[Package evidence version 0.8.10 Index]