summary.evpost: Summarizing an evpost object

Description Usage Arguments Value See Also Examples

View source: R/sample_diagnostics.R

Description

summary method for class "evpost"

Usage

1
2
## S3 method for class 'evpost'
summary(object, add_pu = FALSE, ...)

Arguments

object

An object of class "evpost", a result of a call to rpost or rpost_rcpp.

add_pu

Includes in the summary of the simulated values the threshold exceedance probability p. Only relevant when model == "bingp" was used in the call to rpost or rpost_rcpp.

...

Additional arguments passed on to print or summary.

Value

Prints

See Also

ru or ru_rcpp for descriptions of object$sim_vals and object$box.

plot.evpost for a diagnostic plot.

Examples

1
2
3
4
5
6
7
# GP posterior
data(gom)
u <- stats::quantile(gom, probs = 0.65)
fp <- set_prior(prior = "flat", model = "gp", min_xi = -1)
gpg <- rpost_rcpp(n = 1000, model = "gp", prior = fp, thresh = u,
                  data = gom)
summary(gpg)

revdbayes documentation built on Feb. 13, 2018, 1:04 a.m.