Calculate Coefficient of variation
Arguments
- x
vector
- percent
To return the value as percentage
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.