Variance for the population

varpop(x, na.rm = TRUE)

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation

Value

Variance for the population

Examples

varpop(rnorm(100))
#> [1] 1.184664