Learn R Programming

eba (version 1.5-2)

pork: Pork Tasting Data

Description

This data set provides 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. The data are stored in a 3d array, the first five matrices of which 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.

Usage

data(pork)

Arguments

format

A 3d array consisting of ten square matrices.

source

Bradley, R.A., & Terry, M.E. (1952). Rank analysis of incomplete block designs. I. The method of paired comparisons. Biometrika, 39, 324--345.

Examples

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

Run the code above in your browser using DataLab