geomSD {inTextSummaryTable} | R Documentation |
Compute geometric standard deviation
Description
The geometric standard deviation is computed as:
\exp(\sigma(log(x)))
, with:
log: natural logarithm
\sigma
: standard deviation
Usage
geomSD(x, na.rm = FALSE)
Arguments
x |
Numeric vector. |
na.rm |
Logical, should NA value(s) be removed (FALSE by default)? |
Value
Numeric vector of length 1 with geometric mean.
Author(s)
Laure Cougnaud
See Also
Other stats utility functions:
cv()
,
geomCV()
,
geomMean()
,
geomSE()
,
se()
Examples
# geometric standard deviation of a sample from a log normal distribution:
geomSD(rlnorm(n = 1000, meanlog = 0, sdlog = 1))
[Package inTextSummaryTable version 3.3.3 Index]