Learn R Programming

MLCM (version 0.4.3)

as.mlcm.df: Coerce data frame to mlcm.df

Description

Coerce a data frame from an MLCM experiment to an object of class mlcm.df.

Usage

as.mlcm.df(d, ...)

Arguments

d

object of class data.frame typically obtained from an MLCM experiment. It should have an odd number of columns and no less than 5.

Currently unused.

Value

Returns a data frame of class mlcm.df.

Details

The first column should be named Resp. Subsequent columns contain integer indices to the stimulus levels of the stimuli presented for each trial. As there are two stimuli per trial and at least 2 dimensions tested per experiment, the minimun number of total columns will be 5.

See Also

See Also as mlcm,