quantile.PosteriorSimulations: Compute the quantiles for the posterior simulations.

Description Usage Arguments Value

View source: R/simulateposterior.R

Description

Compute the quantiles for the posterior simulations.

Usage

1
2
3
## S3 method for class 'PosteriorSimulations'
quantile(x, probs = c(0.05, 0.1, 0.5, 0.9,
  0.95), names = TRUE, ...)

Arguments

x

a PosteriorSimulations object.

probs

(numeric vector) of probabilities.

names

(flag) if TRUE, the result has a 'names' attribute.

...

possibly other arguments passed on to 'quantile'.

Value

A matrix with n rows and m columns, where n = rows in 'x' and m = length of 'probs'.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.