gsd {heR.Misc}R Documentation

Calculate Geometric Standard Deviation

Description

Calculate the geometric standard devations of a vector of values

Usage

gsd(x, na.rm = FALSE, force = FALSE)

Arguments

x a vector of numeric values
na.rm whether to remove missing values or not
force whether to force removal of values equal to zero or smaller

Details

Calculate the geometric standard deviation of raw data by taking in sequence the natural logarithm, the arithmetic standard deviation, and the exponential.

If force==TRUE, then values of zero or smaller are removed, and a warning given, otherwise a fatal error is issued.

Value

The geometric standard deviation of the values in x

Author(s)

Neil Klepeis


[Package heR.Misc version 0.0.4 Index]