Learn R Programming

CompR (version 1.0)

ClassDataPairComp: Create an object of class DataPairComp

Description

return an object of DataPairComp class

Usage

ClassDataPairComp(Mat, labelprod = NULL, labelcons = NULL, labelcrit = NULL)

Arguments

Mat
Paired comparison matrix with a number of rows equal to nsubject*nitems and nitems columns.
labelprod
names of the different items (default labelprod=NULL)
labelcons
names of the different subjects (default labelcons=NULL)
labelcrit
name of the criterium (default labelcrit=NULL)

Value

Object of class DataPairComp with the following elements:Cons : corresponding to the label of consummers (default : Number of consummers)Crit : name of the different criteria containedProd : names of the different products (default : number of the product)Paircomp : list of number of criteria elements each corresponding to the results of paired comparisons performed by the consummers.