powered by
Calculate the variance of a numeric vector if the data constitutes the whole population. Note that missing values are excluded.
pop.var(x)
The population variance of the entries in x
x
numeric vector
pop.var(c(1:6,NA,7:10))
Run the code above in your browser using DataLab