Learn R Programming

bootGOF (version 0.1.0)

GOF_model_info_extractor: R6 Class representing model information

Description

R6 does not offer interfaces. Hence all methods are considered as abstract.

Arguments

Methods

Public methods

Method yhat()

Abstract function that estimates/predicts the the dependent variable in model

Usage

GOF_model_info_extractor$yhat(model)

Arguments

model

fitted model

Returns

estimate/prediction of the dependent variable fitted by model

Method y_minus_yhat()

abstract function that calculates the residuals on the scale of the dependent variable.

Usage

GOF_model_info_extractor$y_minus_yhat(model)

Arguments

model

fitted model

Returns

residuals on the scale of the dependent variable

Method beta_x_covariates()

abstract function that calculates the inner product of estimated parameters and the independent variables.

Usage

GOF_model_info_extractor$beta_x_covariates(model)

Arguments

model

fitted model

Returns

inner product of the estimated parameters and the independent variables.

Method clone()

The objects of this class are cloneable with this method.

Usage

GOF_model_info_extractor$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.