aggregation.misclass | R Documentation |
Evaluate the misclassification rate, i.e. prediction error, for a fitted model on new data. To use as argument aggregation.fun
in peperr
call.
aggregation.misclass(full.data=NULL, response, x, model, cplx=NULL,
type=c("apparent", "noinf"), fullsample.attr = NULL, ...)
full.data |
passed from |
response |
vector of binary response. |
x |
|
model |
model fitted with |
cplx |
passed from |
type |
character. |
fullsample.attr |
passed from |
... |
additional arguments, passed to |
Misclassification rate is the ratio of observations for which prediction of response is wrong.
Scalar, indicating the misclassification rate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.