Learn R Programming

extras (version 0.7.3)

variance: Variance

Description

Variance

Usage

variance(x, na_rm = FALSE)

Value

A number.

Arguments

x

A numeric object of MCMC values.

na_rm

A flag specifying whether to remove missing values.

See Also

Other summary: kurtosis(), lower(), pvalue(), pzeros(), skewness(), svalue(), upper(), xtr_mean(), xtr_median(), xtr_sd(), zeros(), zscore()

Examples

Run this code
variance(1:10)

Run the code above in your browser using DataLab