CV: Calculate the CV of a set of values.

View source: R/CVfunctionRange.R

CVR Documentation

Calculate the CV of a set of values.

Description

This function calculates the coefficient of variation (CV) of the values supplied.

Usage

CV(Vec, roundDigits = 2)

Arguments

Vec

The vector of values for which to calculate the CV.

roundDigits

Number of digits to round the result to (default=2).

Value

Returns the value of the CV.

Examples

CV = CV(sampleA$LDL)

LDLcalc documentation built on May 31, 2022, 5:07 p.m.