ClassDataPairComp: Create an object of class DataPairComp

Description Usage Arguments Value

View source: R/ClassDataPairComp.R

Description

return an object of DataPairComp class

Usage

1
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 contained

Prod : 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.


CompR documentation built on May 29, 2017, 2:42 p.m.