CoefVar | R Documentation |
Find the coefficient of variation of the data, either overall or per column.
CoefVar(data, type = 1)
data |
Data to be analyzed. |
type |
1 Coefficient of overall variation (default), |
Coefficient of variation, either overall or per column.
Paulo Cesar Ossani
Marcelo Angelo Cirillo
FERREIRA, D. F.; Estatistica Basica. 2 ed. rev. Lavras: UFLA, 2009. 664 p.
data(DataQuan) # data set
data <- DataQuan[,2:8]
res <- CoefVar(data, type = 1) # Coefficient of overall variation
round(res,2)
res <- CoefVar(data, type = 2) # Coefficient of variation per column
round(res,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.