datacheck2: Helper function

Description Usage Arguments Details

Description

Checks that number of lineup choices contained in a vector is accurate

Usage

1
datacheck2(lineup_pres, lineup_abs, k1, k2)

Arguments

lineup_pres

A numeric vector of lineup choices for a lineup in which the target was present

lineup_abs

A numeric vector of lineup choices for a lineup in which the target was absent

k1

Number of targets in TP lineup

k2

Number of targets in TA lineup

Details

This function ensures that a non-selected lineup member is not accidentally omitted from the dataframe due to lack of selection by all mock witnesses. It functions as a check that the total number of lineup members is accurate


tmnaylor/r4lineups documentation built on May 10, 2019, 8:30 a.m.