Description Usage Arguments Details Value
Extracts probabilities consistently for using in confusion matrix calculations
1 | probExtract(mod, testdata = NULL)
|
mod |
an R model object either of glm, caret, or caretEnsemble class |
testdata |
a list with two elements, a preds dataframe and a factor called class |
Only works for caretEnsemble, train, and glm objects currently.
a dataframe with yhat, the inverse of yhat, and the outcome as a factor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.