Learn R Programming

BayesTools (version 0.2.18)

range.prior: Prior range

Description

Computes range of a prior distribution (if the prior distribution is unbounded range from quantiles to 1 -quantiles) is returned.

Usage

# S3 method for prior
range(x, quantiles = NULL, ..., na.rm = FALSE)

Value

range.prior returns a numeric vector of length with a plotting range of a prior distribution.

Arguments

x

a prior

quantiles

quantile to be returned in case of unbounded distribution.

...

additional arguments

na.rm

unused

See Also

prior()