means_graph {dvmisc} | R Documentation |
Graph Means Across a Grouping Variable
Description
Creates plot showing mean of Y variable across levels of a grouping variable,
with customizable error bars. Observations with missing values for y
and/or group
are dropped.
Usage
means_graph(y, group, error.bars = "t.ci", alpha = 0.05,
p.legend = TRUE, plot.list = NULL, lines.list = NULL,
axis.list = NULL, legend.list = NULL, ...)
Arguments
y |
Numeric vector of values for the continuous variable. |
group |
Vector of values indicating what group each |
error.bars |
Character string indicating what the error bars should
represent. Possible values are |
alpha |
Numeric value indicating what alpha should be set to for
confidence intervals. Only used if |
p.legend |
If |
plot.list |
Optional list of inputs to pass to
|
lines.list |
Optional list of inputs to pass to
|
axis.list |
Optional list of inputs to pass to
|
legend.list |
Optional list of inputs to pass to
|
... |
Value
Plot showing mean of y
across levels of group
.