View source: R/stats-utility.R
| geomSE | R Documentation |
The geometric standard error of the mean is computed as:
\exp(se(log(x), with:
log: natural logarithm
se: standard error of the mean, as computed with se
geomSE(x, na.rm = FALSE)
x |
Numeric vector. |
na.rm |
Logical, should NA value(s) be removed (FALSE by default)? |
Numeric vector of length 1 with geometric standard error of the mean.
Laure Cougnaud
Other stats utility functions:
cv(),
geomCV(),
geomMean(),
geomSD(),
se()
# Geometric standard error of the mean of a sample from a log normal distribution:
geomSE(rlnorm(n = 1000, meanlog = 0, sdlog = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.