Function for computing lineup proportion over a dataframe
Value
A vector of bootstrapped proportions, indicating the frequency with which a target was identified in a lineup Length of vector = number of bootstrap sample draws
Examples
#Data
lineup_vec <- round(runif(100, 1, 6))
target_pos <- 3
#Get bootstrapped data:
lineup_boot_df <- gen_boot_samples(lineup_vec, 1000)
#Call:
lineuprops <- gen_lineup_prop(lineup_boot_df, 3, 6)