VDCxtabs {VDCutil}R Documentation

VDC cross tabs, with pretty printing

Description

This calculate cross tabs with marginals and proportions.

Usage

VDCxtabs(formula,data=parent.env(), ...) 

Arguments

data data to be analyzed
formula crosstab formula suitable for xtabs
... arguments to pass to xtabs

Value

Returns a crosstabulation, essentially a combination of xtabs with proportions and marginals.

Note

VDCxtabs will call recodeVDCdf to apply VDC metadata attributes for labels, and missing values.

Author(s)

Micah Altman vdc-dev@latte.harvard.edu http://thedata.org

See Also

xtabs, recodeVDCdf, VDCcrossTabulation

Examples

        VDCxtabs(Freq~.,as.data.frame(Titanic))


[Package VDCutil version 1.15 Index]