R/aaa.R, R/methods-Prediction.R
Prediction-class.RdAn S4 class to represent prior or posterior draws from an additive function distribution.
# S4 method for class 'Prediction'
show(object)
# S4 method for class 'Prediction'
component_names(object)
# S4 method for class 'Prediction'
num_components(object)
# S4 method for class 'Prediction'
num_paramsets(object)
# S4 method for class 'Prediction'
num_evalpoints(object)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.
f_compcomponent draws
fsignal draws
hpredictions (signal draws + scaling factor c_hat,
transformed through inverse link function)
xa data frame of points (covariate values) where the functions/predictions have been evaluated/sampled
extrapolatedBoolean value telling if the function draws are original MCMC draws or if they have been created by extrapolating such draws.