View source: R/BootstrapEstimates.R
Uses the boot package to bootstrap the regression coefficients for our fitted model.
1 | BootstrapEstimates(dv, data, vars, dir = "./", digits = 5, ...)
|
dv |
Character vector of length 1. Column name of dependent variable. No default. |
data |
data.frame. Data to fit the lm model to. No default. |
vars |
Named numeric vector. Coefficient values and corresponding variable names. No default. |
dir |
Character vector of lenght 1. Directory in which to store the plot. Ignored if save.plot is FALSE. Defaults to "./" |
digits |
Numeric vector of length 1. Digits to round to for values. Defaults to 5. |
... |
Additional arguments for the boot function Description. Default/No default. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.