getCqDataDf {conquestr}R Documentation

getCqDataDf

Description

Takes a list object returned by conquestr::getCqData and coerces it to a wide data frame. This can sometimes cause issues in complex data, for example where there are multiple response vectors for each case (for example a many-facets model). This is because it is assumed that the data can be reduced to a matrix of gNCases x m variables (where m is the number of id, item, estimate and regression variables in the analysis). For more complex data, the user should use the outputs of conquestr::getCqData to manually merge together a data frame.

Usage

getCqDataDf(cqData)

Arguments

cqData

An R object of class list, returned by the function conquestr::getCqData

Value

A data frame containing R data frames based on the list objects in the ConQuest system file that has been read in.

See Also

conquestr::ConQuestSys()

conquestr::getCqData

Examples

  mySys <- ConQuestSys()
  myData <- getCqData(mySys)
  myDataDf <- getCqDataDf(myData)

[Package conquestr version 1.3.0 Index]