View source: R/bootstrap_glm.R
bootstrap_case | R Documentation |
This is the workhorse for the estimate_parameters()
function when a
generalized linear model is specified and case resampling bootstrap is
required. This is not meant to be called by the user directly.
bootstrap_case(fit, reps)
fit |
|
reps |
scalar; number of bootstrap replications to perform. |
matrix with the same number of rows as coefficients in fit
and
reps
columns. Each row contains the bootstrap estimates of the
corresponding parameters.
## Not run:
fit <- glm(mpg ~ hp, data = mtcars)
bootstrap_case(fit, reps = 4999)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.