geocv: Compute the CV of log-normally distributed data.

View source: R/geocv.R

geocvR Documentation

Compute the CV of log-normally distributed data.

Description

geocv computes the CV of log-normal data.

Usage

geocv(x, na.rm = TRUE)

Arguments

x

A numeric value, vector or list.

na.rm

(logical) whether or not to remove NA values from computation

Details

This function first log10-transforms the original data x. It then passes the standard deviation of the result to logsd2cv.

Value

Returns the geometric CV (as percentage)

Author(s)

Felipe Figueiredo

Examples

d <- c(10,100,1000)
geocv(d)
geocv(d) == logsd2cv(1)


philsf/philsfmisc documentation built on April 11, 2022, 9:04 p.m.