View source: R/ccn_classAssess.R
cn_eval | R Documentation |
determine performance of classification at given threshold
cn_eval( vect, sampTab, dLevel, classification, threshs = seq(0, 1, by = 0.05), dLevelSID = "sample_id" )
vect |
vector of values |
sampTab |
sample table |
dLevel |
colname |
classification |
actual classification |
dLevelSID |
column to indicate sample id |
thresh |
threshold above which to make a call |
return a data frame of the number of TP, FN, FP, and TN
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.