Skip to contents

Calculate Coefficient of variation

Usage

cv(x, percent = TRUE)

Arguments

x

vector

percent

To return the value as percentage

Value

numeric

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.