Skip to contents

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)

Arguments

x

A numeric object of MCMC values.

na_rm

A flag specifying whether to remove missing values.

Value

A number.

Examples

zscore(as.numeric(0:100))
#> [1] 1.706475