makepairwise {EloChoice}R Documentation

transform preference data

Description

transform preference data into paircomp format (paircomp)

Usage

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

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)

[Package EloChoice version 0.29.4 Index]