Learn R Programming

eba (version 1.10-0)

pork: Pork Tasting Data

Description

Bradley and Terry (1952) provide the individual choice matrices of two judges choosing between pairs of three samples of pork meet. The pigs had been fed on either corn (C), corn plus peanut supplement (Cp), or corn plus a large peanut supplement (CP). Each judge does five repetitions.

Usage

data(pork)

Arguments

Format

A 3d array consisting of ten square matrices. The first five matrices correspond to the five repetitions of the first judge, the last five to the repetitions of the second judge. Row stimuli are chosen (preferred) over column stimuli.

Examples

Run this code
# NOT RUN {
data(pork)
apply(pork, 1:2, sum)  # aggregate choice frequencies
# }

Run the code above in your browser using DataLab