Learn R Programming

bootGOF (version 0.1.0)

GOF_model_trainer: R6 Class representing a trainer for fitting models

Description

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

Arguments

Methods

Public methods

Method refit()

Abstract function refits the model to a new data set

Usage

GOF_model_trainer$refit(model, data)

Arguments

model

fitted model

data

used for refitting the model

Returns

model refitted on data

Method clone()

The objects of this class are cloneable with this method.

Usage

GOF_model_trainer$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.