Description Usage Arguments Examples
This function is a wrapper for "boot" that runs a model and produces relevant outputs.
1 2 3 |
numruns |
The number of iterations. |
model |
The statistical model (defaults to "lm"). |
formula |
The formula to use for the model. |
weights |
Optional list of weights to use (if a matching formula is also present that will take precedence). |
formula_match |
An optional matching formula (defaults to "NULL"). The first variable in the formual is used as the treatment. |
cem_cutpoints |
An optional list of cutpoints for variables in the matching formula. |
data |
The dataframe that contains all variables in 'formula' and 'formula_match'. |
predictions |
A list with two dataframes (defaults to "NULL"): "predictions" contains a set of values to produce predictions for; "contrasts" contains a list of vectors or lists that for which contrasts should be produced. |
omit |
A string that contains the partial name of all variables to exclude from being returned (they will still be in the model). |
unscale |
An optional function to unscale predictions. |
1 | bootr()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.