Learn R Programming

bootGOF (version 0.1.0)

GOF_model_simulator: R6 Class representing a generator/resample of the dependent variable

Description

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

Arguments

Methods

Public methods

Method resample_y()

Abstract function that resamples/generates the dependent variable

Usage

GOF_model_simulator$resample_y(model)

Arguments

model

fitted model

Returns

generates the dependent variable according to the model

Method clone()

The objects of this class are cloneable with this method.

Usage

GOF_model_simulator$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.