datacheck1: Helper function

Description Usage Arguments Details

View source: R/datacheck1.R

Description

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

Usage

1
datacheck1(lineup_vec, k)

Arguments

lineup_vec

A numeric vector of lineup choices

k

Number of members in 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.


r4lineups documentation built on May 2, 2019, 7:10 a.m.