makepairwise: transform preference data

Description Usage Arguments Value Author(s) See Also Examples

Description

transform preference data into paircomp format (paircomp)

Usage

1
makepairwise(winner, loser, rater)

Arguments

winner

character, vector with the IDs of the winning (preferred) stimuli

loser

character, vector with the IDs of the losing (not preferred) stimuli

rater

character, vector of rater identity

Value

object of class paircomp

Author(s)

Christof Neumann

See Also

psychotools

Examples

1
2
3
4
w <- c("B", "A", "E", "E", "D", "D", "A", "D", "E", "B", "A", "E", "D", "C", "A")
l <- c("C", "C", "C", "D", "B", "C", "E", "A", "B", "D", "E", "B", "E", "D", "C")
raters <- rep(letters[1:3], 5)
makepairwise(w, l, raters)

EloChoice documentation built on July 4, 2019, 5:04 p.m.