cv {sjstats} | R Documentation |
Compute the coefficient of variation.
cv(x, ...)
x |
Fitted linear model of class |
... |
More fitted model objects, to compute multiple coefficients of variation at once. |
The advantage of the cv is that it is unitless. This allows coefficient of variation to be compared to each other in ways that other measures, like standard deviations or root mean squared residuals, cannot be.
Numeric, the coefficient of variation.
data(efc)
fit <- lm(barthtot ~ c160age + c12hour, data = efc)
cv(fit)