dat4 {prefmod}R Documentation

Data (paired comparisons): dat4

Description

A fictitious data set with 100 observations on 6 paired comparisons. The responses are 1 assigned if the first object in a comparison is the preferred one and -1 if it is not preferred. For the ordering of objects and comparisons see llbt.design.

Usage

data(dat4)

Format

A data frame with 100 observations on 6 comparisons:

comp1
responses to first comparison
comp2
responses to second comparison
comp3
responses to third comparison
comp4
responses to fourth comparison
comp5
responses to fifth comparison
comp6
responses to sixth comparison

Examples

data(dat4)
str(dat4)
# to get a general idea we use the histogram plot
par(mfrow=c(2,3))
for (i in 1:6) barplot(table(dat4[,i]))
par(mfrow=c(1,1))

[Package prefmod version 0.8-13 Index]