visual_power: Power calculations.

Description Usage Arguments Value Examples

View source: R/power.r

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

1
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

1
2

nullabor documentation built on Feb. 26, 2020, 1:07 a.m.