Description Usage Arguments Examples
Convenient plotting of means and error bars or boxplots of factorial data.
1 2 |
.data |
a data frame containing the variables in the formula
|
formula |
a formula in the form |
geom |
character string indicating the ggplot2 geom used. One of
|
error |
character string indicating the function used for calculating
the error bars. One of |
... |
Further arguments passed to methods. E.g. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | fplot(hquest, trait_anx ~ group + gender)
# Standard deviation instead of standard error
fplot(hquest, trait_anx ~ group + gender, error = "sd")
# 95% confidence intervals (moe = margin of error)
fplot(hquest, trait_anx ~ group + gender, error = "moe")
# Line graph
fplot(hquest, trait_anx ~ group + gender, geom = "line")
# Boxplot
fplot(hquest, trait_anx ~ group + gender, geom = "boxplot")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.