
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)
data.frame
, matrix
, or
table
with the unique response patterns and the number of frequencies
in the rightmost column.data(LSAT7)
LSAT7full <- expand.table(LSAT7)
Run the code above in your browser using DataLab