bootest | R Documentation |
Those functions are low-level functions used by errorest
and
are normally not called by users.
## S3 method for class 'factor'
bootest(y, formula, data, model, predict, nboot=25,
bc632plus=FALSE, list.tindx = NULL, predictions = FALSE,
both.boot = FALSE, ...)
y |
the response variable, either of class |
formula |
a formula object. |
data |
data frame of predictors and response described in
|
model |
a function implementing the predictive model to be
evaluated. The function |
predict |
a function with arguments |
nboot |
number of bootstrap replications to be used. |
bc632plus |
logical. Should the bias corrected version of misclassification error be computed? |
predictions |
logical, return a matrix of predictions. The ith column contains predictions of the ith out-of-bootstrap sample and 'NA's corresponding to the ith bootstrap sample. |
list.tindx |
list of numeric vectors, indicating which observations are included in each bootstrap sample. |
both.boot |
logical, return both (bootstrap and 632plus) estimations or only one of them. |
... |
additional arguments to |
See errorest
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.