ix.mat2df converts a long data.frame that is used as the data argument for
mlds with method = “glm” to the 5 column format, typically from the results of a difference scaling experiment. The first column is the response and the next four are the ranks of the stimulus levels used in each trial, the 2 pairs.
ix.mat2df is the inverse of
make.ix.mat. This form of data.frame is used with the “optim” method of
a data.frame with p columns and n rows, where p is the number of stimulus levels and n is the number of trials. The first column is the
A 5 column data.frame which could be coerced to interger.
The response, 0 or 1, indicating which pair was chosen
The rank of the 4 stimulus levels presented on each trial.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.