The Pooled Standard Deviation is a weighted average of standard deviations for two or more groups, with more "weight" given to larger sample sizes.
sd_pooled(x, y = NULL, data = NULL, verbose = TRUE)mad_pooled(x, y = NULL, data = NULL, verbose = TRUE)
A formula, a numeric vector, or a character name of one in data
.
A numeric vector, a grouping (character / factor) vector, a or a
character name of one in data
. Ignored if x
is a formula.
An optional data frame containing the variables.
Toggle warnings and messages on or off.
Numeric, the pooled standard deviation.
# NOT RUN {
sd_pooled(mpg ~ am, data = mtcars)
# }
Run the code above in your browser using DataLab