| expand.table {mirt} | R Documentation |
The expand.table function expands a summary table of unique response
patterns to a full sized data-set. The response frequencies must be on the
rightmost column of the input data.
expand.table(tabdata, sample = FALSE)
tabdata |
An object of class |
sample |
logical; randomly switch the rows in the expanded table? This does not change the expanded data, only the row locations |
Returns a numeric matrix with all the response patterns.
Phil Chalmers rphilip.chalmers@gmail.com
## Not run: data(LSAT7) head(LSAT7) LSAT7full <- expand.table(LSAT7) head(LSAT7full) LSAT7full <- expand.table(LSAT7, sample = TRUE) head(LSAT7full) ## End(Not run)