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)
Run the code above in your browser using DataLab