visual_power: Power calculations.

View source: R/power.r

visual_powerR Documentation

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

data(turk_results)
visual_power(turk_results)

dicook/nullabor documentation built on July 10, 2022, 12:08 a.m.