Learn R Programming

PKbioanalysis (version 0.5.0)

cv: Calculate Coefficient of variation

Description

Calculate Coefficient of variation

Usage

cv(x, percent = TRUE)

Value

numeric

Arguments

x

vector

percent

To return the value as percentage

Details

A simple calculation of the coefficient of variation (CV) is done as the standard deviation divided by the mean. By default, the result is in percentage.