observed_band: Add a band corresponding to the observed number of...

Description Usage Arguments Examples

View source: R/estimate_alpha.R

Description

This function adds a band to assist in the visual estimation of alpha from evaluated lineups.

Usage

1
observed_band(obs, limits, c = m0/K, m0 = 19, K = 30)

Arguments

obs

Observed number of "c-interesting" panels (panels with at least c selections). If NA, the line is omitted.

limits

Lower and upper bounds for number of panels. If NA, the bands are omitted.

c

The number of selections a panel must have to be interesting (can be non-integer)

m0

The number of null panels in the lineup

K

The total number of null panel selections (or, in a Rorschach lineup, the total number of evaluations)

Examples

1
2
3
4
estimate_alpha_visual() + observed_band(obs = NA, limits = c(5, 7))
estimate_alpha_visual() + observed_band(obs = 6, limits = NA)
estimate_alpha_visual(c = 1, m0 = 19, K = 50) + 
  observed_band(obs = 6, limits = c(4, 8), c = 1, m0 = 19, K = 50)

heike/vinference documentation built on Oct. 17, 2020, 7:08 a.m.