protocol_floors: Sample-size floors of the ranking protocol

View source: R/rank_contrasts.R

protocol_floorsR Documentation

Sample-size floors of the ranking protocol

Description

The token floors per category at which the simulation study behind rank_contrasts() licenses a \sqrt{JSD} ranking and the Pillai–\sqrt{JSD} agreement flag, by number of features d (Berry, under review, Secs. V.D and VII.A). Dimensionalities the study did not calibrate take the floors of the next higher calibrated dimensionality.

Usage

protocol_floors(d)

Arguments

d

Positive integer; the number of features.

Value

A list with d; rank_floor, the tokens per category from which ranking by \sqrt{JSD} is licensed (50 at d <= 2, 200 at d = 3, 4, 500 at d = 5 to 8, Inf above eight dimensions, where the study gives ordering evidence only); flag_floor, the tokens per category from which the agreement flag may be read (100 at d <= 2, 200 at d = 3, 4, Inf from d = 5, since from eight dimensions the test returns agreement whatever the data contain); calibrated_at, the calibrated dimensionality the floors come from; and ordering_only, TRUE above eight dimensions.

Examples

protocol_floors(2)
protocol_floors(4)$flag_floor

phontrast documentation built on Oct. 7, 2026, 5:06 p.m.