Learn R Programming

extras (version 0.7.3)

zscore: Z-Score

Description

The Bayesian z-score is here defined as the number of standard deviations from the mean estimate to zero.

Usage

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

Examples

Run this code
zscore(as.numeric(0:100))

Run the code above in your browser using DataLab