calculate signal detection theory (SDT) metrics such as d' and c

calculate_sdt(n_tp, n_tn, n_fp, n_fn)

Arguments

n_tp

number of true positives (or hit)

n_tn

number of true negatives (or correct rejection)

n_fp

number of false positives (or false alarm)

n_fn

number of false negatives (or miss)

Value

data.frame of signal detection theory metrics along with all the variables created along the way

Examples

#example to be written