R/aaa.R
, R/methods-Prediction.R
Prediction-class.Rd
An S4 class to represent prior or posterior draws from an additive function distribution.
# S4 method for Prediction show(object) # S4 method for Prediction component_names(object) # S4 method for Prediction num_components(object) # S4 method for Prediction num_paramsets(object) # S4 method for Prediction num_evalpoints(object)
object | Prediction object for which to apply a class method. |
---|
show
: Print a summary about the object.
component_names
: Get names of components.
num_components
: Get number of components.
num_paramsets
: Get number of parameter combinations
(different parameter vectors) using which predictions were computed.
num_evalpoints
: Get number of points where
predictions were computed.
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.