mean_sd | R Documentation |
A vector will be output containing the arithmetic mean and the standard
deviation. The output can be used directly in the function
format_values
to create summary tables.
mean_sd(var, na.rm = T)
var |
variable name |
na.rm |
logical, indicating whether NA values should be excluded |
Character string
mean_sd(rnorm(100, 1000, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.