View source: R/stats-utility.R
| se | R Documentation |
The standard error of the mean is computed as:
\frac{\sigma(x)}{\sqrt{length(x)}}, with:
\sigma(x): standard deviation of x
se(x, na.rm = FALSE)
x |
Numeric vector. |
na.rm |
Logical, should NA value(s) be removed (FALSE by default)? |
Numeric vector with standard error of the mean
Laure Cougnaud
Other stats utility functions:
cv(),
geomCV(),
geomMean(),
geomSD(),
geomSE()
se(rnorm(1000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.