geometric_sd | R Documentation |
Function that returns the geometric standard deviation of a vector of real numbers according to the selected method.
geometric_sd(
x,
method = c("positive", "shifted", "optimized", "weighted"),
shift = 1,
delta = 0.001
)
x |
A numeric vector of real values |
method |
Description of methods:
|
shift |
a positive value to use in the shifted method |
delta |
an positive value (shift) used in the optimized method. |
The geometric mean of the x vector, and the epsilon value if optimized method is used.
x <- c(4, 5, 3, 7, 8)
geometric_sd(x, method = "optimized")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.