Stable lifecycle

# S3 method for distribution
variance(x, ...)

Arguments

x

The distribution(s).

...

Additional arguments used by methods.

Details

Returns the empirical variance of the probability distribution. If the method does not exist, the variance of a random sample will be returned.