fullROC (version 0.1.0)

id_adj_pos: 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

Run this code
# 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