sem | R Documentation |
Calculates the standard error of the mean (SEM) for a numeric vector (it excludes NA-s by default).
sem(x, na.rm = TRUE)
x |
A numeric vector. |
na.rm |
Should NA values be removed before calculation? Defaults to TRUE. |
The standard error of the mean of the input vector.
sem(1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.