Description Usage Arguments Details
Create resampled data
1 2 | resampledData(model, method = c("residual", "resample", "wild",
"parametric", "debug"), reindex = FALSE)
|
model |
a model returned from |
method |
One of resample: resample rows from data. Can result in repeated years. residual: resamples the residuals and applies them to the data. All years are present. wild: same as residuals but randomly select sign of resampled residuals. parametric: resample residuals from normal distribution |
reindex |
a logical indicating whether response values should be reindexed before fitting. |
This relies on the fact that each of these models stores the data used to fit the model with the response variable in the first column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.