pop.var {smallstuff} | R Documentation |
Calculate the Population Variance
Description
Calculate the variance of a numeric vector if the data constitutes the whole population. Note that missing values are excluded.
Usage
pop.var(x)
Arguments
x |
numeric vector |
Value
The population variance of the entries in x
Examples
pop.var(c(1:6,NA,7:10))
[Package smallstuff version 1.0.5 Index]