get_pred: Extract model predictions and function posteriors

View source: R/main-get_pred.R

get_predR Documentation

Extract model predictions and function posteriors

Description

NOTE: It is not recommended for users to call this. Use pred instead.

Usage

get_pred(fit, draws = NULL, reduce = NULL, verbose = TRUE)

Arguments

fit

An object of class lgpfit.

draws

Indices of parameter draws to use, or NULL to use all draws.

reduce

Reduction for parameters draws. Can be a function that is applied to reduce all parameter draws into one parameter set, or NULL (no reduction). Has no effect if draws is specified.

verbose

Should more information and a possible progress bar be printed?

Value

an object of class GaussianPrediction or Prediction


jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.