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

View source: R/as.mlcm.df.R

as.mlcm.dfR Documentation

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.

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.

Value

Returns a data frame of class mlcm.df.

Author(s)

Kenneth Knoblauch

See Also

See Also as mlcm,


MLCM documentation built on March 18, 2022, 7:31 p.m.