extract_mean_interval_given_samps {BayesGP}R Documentation

Construct posterior inference given samples

Description

Construct posterior inference given samples

Usage

extract_mean_interval_given_samps(samps, level = 0.95, quantiles = NULL)

Arguments

samps

Posterior samples of f or its derivative, with the first column being evaluation points x. This can be yielded by 'compute_post_fun_iwp' function.

level

The level to compute the pointwise interval. Ignored when quantiles are provided.

quantiles

A numeric vector of quantiles to be computed.

Value

A dataframe with a column for evaluation locations x, and posterior mean and pointwise intervals at that set of locations.


[Package BayesGP version 0.1.3 Index]