Description Usage Arguments Value
Gives count, mean, standard deviation, standard error of the mean, and confidence interval (default 95%).
adapted from http://www.cookbook-r.com/Graphs/Plotting_means_and_error_bars_(ggplot2)/#Helper functions
1 2 |
data |
a data frame. |
measurevar |
the name of a column that contains the variable to be summariezed |
groupvars |
a vector containing names of columns that contain grouping variables |
na.rm |
a boolean that indicates whether to ignore NA's |
conf.interval |
the percent range of the confidence interval (default is 95%) |
.drop |
logical. |
dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.