Skip to contents

Mean

Usage

xtr_mean(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(), variance(), xtr_median(), xtr_sd(), zeros(), zscore()

Examples

xtr_mean(1:10)
#> [1] 5.5