id_adj_pos {fullROC} | R Documentation |
Match by position
Description
A function to adjust the id rates for ca lineups using the 1/(lineup size) method; match and adjust id rates by positions of filler and suspect ids.
Usage
id_adj_pos(rate, fid, sid, lsize = 6)
Arguments
rate |
ID rate vector. |
fid |
Mapping positions from filler id. |
sid |
To-be-matched positions for suspect id. Must have equal length as fid. |
lsize |
Lineup size. Defaults to 6. |
Value
Adjusted ID vector.
Examples
ca_id <- c(rep(0,3), rep(c(0.1, 0.15, 0.25), 2))
id_adj_pos(ca_id, fid = 4:6, sid = 1:3, lsize = 5)
[Package fullROC version 0.1.0 Index]