range.prior: Prior range

View source: R/priors-density.R

range.priorR Documentation

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 class 'prior'
range(x, quantiles = NULL, ..., na.rm = FALSE)

Arguments

x

a prior

quantiles

quantile to be returned in case of unbounded distribution.

...

additional arguments

na.rm

unused

Value

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

See Also

prior()


BayesTools documentation built on July 26, 2023, 5:37 p.m.