untableSet: data.frame conversion

Description Usage Arguments Value Author(s) References Examples

View source: R/untableSet.R

Description

Converts a frequency table into a raw data.frame.

Usage

1
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.

Author(s)

Alexander Pilhoefer
Department for Computer Oriented Statistics and Data Analysis
University of Augsburg
Germany

References

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

Examples

1
2
3
4
require(MASS)

hs2 = untableSet(housing)
summary(hs2)

Example output

Loading required package: MASS
     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             

extracat documentation built on July 17, 2018, 5:05 p.m.