pop.var: Calculate the Population Variance

View source: R/popVarSd.R

pop.varR 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))

smallstuff documentation built on June 2, 2022, 5:06 p.m.