logvar2cv: Convert the log10 variance to the CV (log-normal variable).

View source: R/logvar2cv.R

logvar2cvR Documentation

Convert the log10 variance to the CV (log-normal variable).

Description

logvar2cv converts the log10-transformed var of a log-normal variable to the CV.

Usage

logvar2cv(x)

Arguments

x

The log10-transformed var of data. A numeric value, vector or list.

Details

This function converts the log10-transformed variance of a log-normal variable to the CV.

Value

Returns the geometric CV (as percentage)

Author(s)

Felipe Figueiredo

Examples

d <- c(10,100,1000)
var(log10(d)) # 1
logvar2cv(1) # 1413.21\%


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