Skip to contents

Variance

Usage

variance(x, na_rm = FALSE)

Arguments

x

A numeric object of MCMC values.

na_rm

A flag specifying whether to remove missing values.

Value

A number.

See also

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

Examples

variance(1:10)
#> [1] 9.166667