perf.calc: Performance Statistics Calculations

Description Usage Arguments Value See Also

View source: R/performance.R

Description

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

Usage

1
perf.calc(data, lev = NULL, model = NULL)

Arguments

data

dataframe of predicted (pred) and observed (obs) groups

lev

Group levels

model

String indicating which model was initially run

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


OmicsMarkeR documentation built on April 28, 2020, 6:54 p.m.