Prediction-class {lgpr} | R Documentation |
An S4 class to represent prior or posterior draws from an additive function distribution.
Description
An S4 class to represent prior or posterior draws from an additive function distribution.
Usage
## S4 method for signature 'Prediction'
show(object)
## S4 method for signature 'Prediction'
component_names(object)
## S4 method for signature 'Prediction'
num_components(object)
## S4 method for signature 'Prediction'
num_paramsets(object)
## S4 method for signature 'Prediction'
num_evalpoints(object)
Arguments
object |
Prediction object for which to apply a class method. |
Methods (by generic)
-
show(Prediction)
: Print a summary about the object. -
component_names(Prediction)
: Get names of components. -
num_components(Prediction)
: Get number of components. -
num_paramsets(Prediction)
: Get number of parameter combinations (different parameter vectors) using which predictions were computed. -
num_evalpoints(Prediction)
: Get number of points where predictions were computed.
Slots
f_comp
component draws
f
signal draws
h
predictions (signal draws + scaling factor
c_hat
, transformed through inverse link function)x
a data frame of points (covariate values) where the functions/predictions have been evaluated/sampled
extrapolated
Boolean value telling if the function draws are original MCMC draws or if they have been created by extrapolating such draws.