Converts a frequency table into a raw data.frame.

untableSet(data, freqvar = "Freq")

Arguments

data

The data.frame including a frequency variable "Freq".

freqvar

The name of the frequency/weights variable which is used to expand V.

Value

A data.frame.

References

Alexander Pilhoefer New approaches in visualization of categorical data: R-package extracat
Journal of Statistical Software, submitted March 2010

Examples

require(MASS) hs2 = untableSet(housing) summary(hs2)
#> Sat Infl Type Cont #> Low :567 Low :627 Tower :400 Low :713 #> Medium:446 Medium:659 Apartment:765 High:968 #> High :668 High :395 Atrium :239 #> Terrace :277