Userfriendly function for the construction of a DDRep-class.

DDRep(model = NULL, raw = NULL, ddrep = NULL)

Arguments

model

DDModel-class.

raw

data.frame that contains the raw data in a specific format (see details for further information)

ddrep

DDRep-class

Value

DDRep-class.

Details

Raw data in the DDModeling package is handled in data.frames containing three coulmns:

cond

Factor: Specifying the condition under which a given measure was taken.

resp

Numeric: Specifying the binary coded response property (0==false, 1==correct)

time

Numeric: Specifying the time (in rounded ms) for a given measure.

Note: In order for the DDRep function to execute successfully the factor levels of the cond coulmns have to be identical to the condition names specified in the MM slot of the model!