| s4_generics {lgpr} | R Documentation |
S4 generics for lgpfit, lgpmodel, and other objects
Description
S4 generics for lgpfit, lgpmodel, and other objects
Usage
parameter_info(object, digits)
component_info(object)
covariate_info(object)
component_names(object)
get_model(object)
is_f_sampled(object)
get_stanfit(object)
postproc(object, ...)
contains_postproc(object)
clear_postproc(object)
num_paramsets(object)
num_evalpoints(object)
num_components(object)
Arguments
object |
object for which to apply the generic |
digits |
number of digits to show |
... |
additional optional arguments to pass |
Value
-
parameter_inforeturns a data frame with one row for each parameter and columns for parameter name, parameter bounds, and the assigned prior -
component_inforeturns a data frame with one row for each model component, and columns encoding information about model components -
covariate_inforeturns a list with namescontinuousandcategorical, with information about both continuous and categorical covariates -
component_namesreturns a character vector with component names -
is_f_sampledreturns a logical value -
get_stanfitreturns astanfit(rstan) -
postprocapplies postprocessing and returns an updated lgpfit -
clear_postprocremoves postprocessing information and returns an updated lgpfit -
num_paramsets,num_evalpointsandnum_componentsreturn an integer
Functions
-
parameter_info(): Get parameter information (priors etc.). -
component_info(): Get component information. -
covariate_info(): Get covariate information. -
component_names(): Get component names. -
get_model(): Get lgpmodel object. -
is_f_sampled(): Determine if signal f is sampled or marginalized. -
get_stanfit(): Extract stanfit object. -
postproc(): Perform postprocessing. -
contains_postproc(): Determine if object contains postprocessing information. -
clear_postproc(): Clear postprocessing information (to reduce size of object). -
num_paramsets(): Get number of parameter sets. -
num_evalpoints(): Get number of points where posterior is evaluated. -
num_components(): Get number of model components.
See Also
To find out which methods have been implemented for which classes, see lgpfit, lgpmodel, Prediction and GaussianPrediction.