fftrees_threshold_numeric_grid {FFTrees} | R Documentation |
Perform a grid search over thresholds and return accuracy statistics for a given numeric cue
Description
Perform a grid search over thresholds and return accuracy statistics for a given numeric cue
Usage
fftrees_threshold_numeric_grid(
thresholds,
cue_v,
criterion_v,
directions = c(">", "<="),
goal.threshold = NULL,
sens.w = NULL,
my.goal = NULL,
my.goal.fun = NULL,
cost.each = NULL,
cost.outcomes = NULL
)
Arguments
thresholds |
numeric. A vector of thresholds to consider. |
cue_v |
numeric. Feature values. |
criterion_v |
logical. A logical vector of (TRUE) criterion values. |
directions |
character. Possible directions to consider. |
goal.threshold |
A character string indicating the criterion to maximize when optimizing cue thresholds:
|
sens.w |
numeric. Sensitivity weight parameter (from |
my.goal |
Name of an optional, user-defined goal (as character string). Default: |
my.goal.fun |
User-defined goal function (with 4 arguments |
cost.each |
numeric. A constant cost value to add to each value (e.g., the cost of the cue). |
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, in some common currency.
For instance, |
Value
A data frame containing accuracy statistics for numeric thresholds.
See Also
fftrees_threshold_factor_grid
for factor cues.