Learn R Programming

OmicsMarkeR (version 1.4.2)

performance.stats: Performance Statistics (Internal for perf.calc)

Description

Calculates confusion matrix and ROC statistics comparing the results of the fitted models to the observed groups.

Usage

performance.stats(pred, obs)

Arguments

pred
vector of groups predicted by a fitted classification model
obs
vector of groups from the original dataset

Value

Returns confusion matrix and ROC performance statistics including Accuracy, Kappa, ROC.AUC, Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value

See Also

caret function confusionMatrix