mlds.df
by adding column names and attributes so that it will be properly treated by methods related to the MLDS functions.df2mlds.df(d, st)
data.frame
of class mlds.df
with stimulus
and invord
attributes.mlds.df
but inheriting from class data.frame
. It changes the column names to resp
and
S1
, S2
, S3
, S4
and adds two attributes: stimulus
, a vector of scale values used in plotting the estimated scale and invord
, a logical vector indicating the order of the presentation of pairs (were the larger scale values on the bottom or not) which is used with the SwapOrder
function.mlds