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_simulatoran instance that implements GOF_model_simulator
gof_model_traineran 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)modelfitted model based on data
dataused to fit model
y_namestring 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)deepWhether to make a deep clone.