nullabor (version 0.3.5)

visual_power: Power calculations.

Description

This function simply counts the proportion of people who selected the data plot, in a set of lineups. It adjusts for multiple picks by the same individual, by weighting by the total number of choices.

Usage

visual_power(data, m = 20)

Arguments

data

summary of the results, containing columns id, pic_id, response, detected

m

size of the lineup

Value

vector of powers for each pic_id

Examples

Run this code
# NOT RUN {
data(turk_results)
visual_power(turk_results)
# }

Run the code above in your browser using DataLab