data_comp {lazy.mdpref}R Documentation

Atrificial test data for mdprefml and mdprefmx.

Description

Data consisting of the result of paired comparison experiment of 15 stimuli by 5 subjects.

Usage

data_comp

Format

Data frame consisting of 525 rows and 5 variables where 525 = 5 * 15*(15-1)/2.

subj

Character variable indicating subject name.

n

Numeric variable indicating # of trials per pair.

f

Numeric variable indicating # of times that stimulus ij.1 is preferred to stimulus ij.2 out of n trials.

ij.1

Numeric variable containing the left stimulus id.

ij.2

Numeric variable containing the right stimulus id.

Details

Run mdprefml or mdprefmx as
ij <- cbind( data_comp$ij.1, data_comp$ij.2)
mdprefml( f=data_comp$f, n=data_comp$n, ij=ij, subj=data_comp$subj, .....
mdprefmx( f=data_comp$f, n=data_comp$n, ij=ij, subj=data_comp$subj, .....

Source

Generated by author using data-raw\gendatamdpref.R.


[Package lazy.mdpref version 0.1.4 Index]