population_variance {kim} | R Documentation |
Population variance of a vector
Description
Calculates the population variance, rather than the sample variance, of a vector
Usage
population_variance(vector, na.rm = TRUE)
Arguments
vector |
a numeric vector |
na.rm |
if |
Examples
population_variance(1:4)
var(1:4)
[Package kim version 0.5.422 Index]