classtable | R Documentation |
The main input are 2 logical vectors of prediction and criterion values.
classtable(
prediction_v = NULL,
criterion_v = NULL,
correction = 0.25,
sens.w = NULL,
cost.outcomes = NULL,
cost_v = NULL,
my.goal = NULL,
my.goal.fun = NULL,
quiet_mis = FALSE,
na_prediction_action = "ignore"
)
prediction_v |
logical. A logical vector of predictions. |
criterion_v |
logical. A logical vector of (TRUE) criterion values. |
correction |
numeric. Correction added to all counts for calculating |
sens.w |
numeric. Sensitivity weight parameter (from 0 to 1, for computing |
cost.outcomes |
list. A list of length 4 with names 'hi', 'fa', 'mi', and 'cr' specifying
the costs of a hit, false alarm, miss, and correct rejection, respectively.
For instance, |
cost_v |
numeric. Additional cost value of each decision (as an optional vector of numeric values).
Typically used to include the cue cost of each decision (as a constant for the current level of an FFT).
Default: |
my.goal |
Name of an optional, user-defined goal (as character string). Default: |
my.goal.fun |
User-defined goal function (with 4 arguments |
quiet_mis |
A logical value passed to hide/show |
na_prediction_action |
What happens when no prediction is possible? (Experimental and currently unused.) |
The primary confusion matrix is computed by confusionMatrix
of the caret package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.