Summarize a continuous variable by groups with mean, sd and SE
summarySE(
data = NULL,
measurevar,
groupvars = NULL,
conf.interval = 0.95,
na.rm = TRUE,
.drop = TRUE
)
A data.frame
A name of variable to measure a mean and sd
Name(s) of variable used as a grouping variables
confidence interval
A logical value indicating whether or not remove NA values
should combinations of variables that do not appear in the input data be preserved (FALSE) or dropped (TRUE, default)
A data.frame summarized a continuous variable by groups with mean, sd and SE