A generic function for computing the variance of an object. The default method will use stats::var() to compute the variance.

variance(x, ...)

Arguments

x

An object.

...

Additional arguments used by methods.

See also