Expand summary table of patterns and frequencies
Expand a summary table of unique response patterns to a full sized data-set.
expandDataFrame(tabdata, freqName = NULL)
tabdata
: An object of class data.frame
with the unique response patterns and the number of frequenciesfreqName
: Column name containing the frequenciesReturns a data frame with all the response patterns
data(LSAT7) expandDataFrame(LSAT7, freqName="freq")
Based on code by Phil Chalmers rphilip.chalmers@gmail.com