Learn R Programming

CompR (version 1.0)

DataSimulH0: Simulation of paired comparison data

Description

Returns paired comparison data according a given configuration

Usage

DataSimulH0(Data, ResH0)

Arguments

Data
Object of class DataPairComp
ResH0
Object of class BradleyEstim.

Value

Object of class DataPairComp with the following components:Cons : corresponding to the label of consummersCrit : names of the different criteriaProd : names of the different productsPaircomp : list of number of criteria elements each corresponding to the results of simulated paired comparisons performed by the consummers according their belonging to the different classes.

Details

The paired comparison data are simulated according the products configuration, the weight of the different classes for the different criteria (stored in the object ResH0 of class BradleyEstim) obtained on the basis of the results of EstimBradley function for the paired comparison data contained in the objet Data of class DataPairComp