expand.table: Expand summary table of patterns and frequencies
Description
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.
Usage
expand.table(tabdata)
Arguments
tabdata
An object of class data.frame, matrix, or table with the unique response patterns and the number of frequencies in the rightmost column.
Value
Returns a numeric matrix with all the response patterns.