Description Usage Arguments Value Author(s) See Also Examples
transform preference data into paircomp format (paircomp
)
1 | makepairwise(winner, loser, rater)
|
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 |
object of class paircomp
Christof Neumann
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.