Learn R Programming

rafalib (version 1.0.0)

popvar: population variance

Description

Returns the population variance. Note that var returns the unbiased sample estimate of the population varaince. It simply multiplies the result of var by (n-1) / n with n the populaton size.

Usage

popvar(x, ...)

Arguments

x
a numeric vector, matrix or data frame.
...
further arguments passed along to var