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.
id_adj_pos(rate, fid, sid, lsize = 6)
ID rate vector.
Mapping positions from filler id.
To-be-matched positions for suspect id. Must have equal length as fid.
Lineup size. Defaults to 6.
Adjusted ID vector.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab