[Internal] Make table (from prediction object)

make_table(pred, index)

Arguments

pred

object of class "prediction" from package ROCR

index

index of value in the object

Value

Clasification table with TP, FP, FN, TN values