remove_cardinal_biases_discrete {circhelp} | R Documentation |
Remove cardinal biases for data with orientation (color, motion, ...) set in discrete steps
remove_cardinal_biases_discrete(err, x, space, init_outliers = NULL)
err |
a vector of errors, deviations of response from the true stimuli |
x |
a vector of true stimuli in degrees (see space) |
space |
circular space to use (a string: |
init_outliers |
a vector determining which errors are initially assumed to be outliers (default: NULL) |
returns a data.table with the following columns:
is_outlier - 0 for outliers (defined as ±3*predicted SD, where SD and mean are computed after excluding initially assumed outliers)
be_c error corrected for biases (be_c = observed error - pred
)