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

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