Description Usage Arguments Value
View source: R/logodds_graph.R
Creates plot showing sample log-odds of binary Y variable across levels of a
grouping variable, with customizable error bars. Observations with missing
values for y
and/or group
are dropped.
1 2 3 |
y |
Vector of values for binary response variable. Must take on 2
values, but can be any type (e.g. numeric, character, factor, logical).
Function plots log-odds of second value returned by |
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 |
Character string controlling what p-value is printed in a
legend. Possible values are |
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
|
... |
Additional arguments to pass to |
Plot showing log-odds of y
across levels of group
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.