datacheck1: Helper function

Description Usage Arguments Details

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.


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