Class is able to resample model fit, i.e. generate a new data set and refit the model to the new data.
new()
GOF_model_resample$new(gof_model_simulator, gof_model_trainer)
gof_model_simulator
an instance that implements GOF_model_simulator
gof_model_trainer
an instance that implements GOF_model_trainer
No explicit return
resample()
resamples the dependent variable in data
and refits
model
to that new data set
GOF_model_resample$resample(model, data, y_name)
model
fitted model based on data
data
used to fit model
y_name
string specifying the name of the dependent variable
a resampled version of model
clone()
The objects of this class are cloneable with this method.
GOF_model_resample$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.