powered by
Calculates the (population or sample) coefficient of variation of a given numeric vector
coefficent_of_variation(vector, pop_or_sample = "pop")
a numeric value
a numeric vector
should coefficient of variation be calculated for a "population" or a "sample"?
coefficent_of_variation(1:4, pop_or_sample = "sample") coefficent_of_variation(1:4, pop_or_sample = "pop")
Run the code above in your browser using DataLab