View source: R/sample_diagnostics.R
| summary.evpost | R Documentation | 
summary method for class "evpost"
## S3 method for class 'evpost'
summary(object, add_pu = FALSE, ...)
| object | An object of class "evpost", a result of a call to
 | 
| add_pu | Includes in the summary of the simulated values the threshold
exceedance probability  | 
| ... | Additional arguments passed on to  | 
Prints
 information about the ratio-of-uniforms bounding box, i.e.
object$box
 an estimate of the probability of acceptance, i.e.
object$pa
 a summary of the simulated values, via
summary(object$sim_vals)
ru or ru_rcpp for
descriptions of object$sim_vals and object$box.
plot.evpost for a diagnostic plot.
# GP posterior
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.