View source: R/summary_stats.R
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 NAs |
conf.interval |
the percent range of the confidence interval (default is 95 \item.dropBoolean |
Summarizes data by giving count, mean, standard deviation, standard error of the mean, and confidence interval
Taken from the R cookbook (cookbook-r.com/Manipulating_data/Summarizing_data/)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.