| allprop | R Documentation |
Computes lineup proportion for each member in a lineup
allprop(lineup_vec, k)
lineup_vec |
A numeric vector of lineup choices |
k |
Number of members in lineup. Must be specified by user (scalar). |
Returns a vector containing lineup proportion for each lineup member
Wells, G. L., Leippe, M. R., & Ostrom, T. M. (1979). Guidelines for assessing the fairness of a lineup. Law and Human Behavior, 3(4), 285-293.
#Data:
lineup_vec <- round(runif(100, 1, 6))
#Call:
x <- allprop(lineup_vec, k = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.