Learn R Programming

ClinSigMeasures (version 1.2)

cv: Coefficient of Variation Calculation

Description

Calculates the coefficient of variation for a mean and standard deviation

Usage

cv(Mean, SD)

Value

A single value representing the Coefficient of Variation

Arguments

Mean

Mean for a dataset

SD

Standard Deviation for a dataset

Author

Mike Malek-Ahmadi

References

1. Everitt B (1998). The Cambridge Dictionary of Statistics. Cambridge, UK New York: Cambridge University Press. ISBN 978-0521593465.

2. Bedeian AG, Mossholder KW. On the use of the coefficient of variation as a measure of diversity. Organizational Research Methods 2000;3(3):285-297.

Examples

Run this code

#From Bedeian & Mossholder (2000), Table 2 Group A data.

cv(28, 7)

Run the code above in your browser using DataLab