This function returns a list containing models and coefficients from the resample fits.
resampledFits(model, method = c("residual", "resample", "wild", "parametric", "debug"), n, save.data = FALSE, seed, id, include.original = TRUE, reindex = FALSE, mc.cores = parallel::detectCores(), ...)
model | a model returned from |
---|---|
method | one of |
n | the number of resamples you want to perform |
save.data | a logical indicating whether the data should be saved with each model. |
seed | a seed for |
id | a character vector of length 1 used as an identifier that will be added to the output. This is convenient for marking data internally if you are doing resampling on many different models. |
include.original | a logical indicating whether the original model and coefficients should be included in the returned value. |
reindex | a boolean that indicates whether to reindex the resampled fits. |
mc.cores | number of cores to use in main loop. |
... | additional arguments passed to |
a list of length two containing a data frame of coefficients and a list of models