VDCxtabs {VDCutil} | R Documentation |
This calculate cross tabs with marginals and proportions.
VDCxtabs(formula,data=parent.env(), ...)
data |
data to be analyzed |
formula |
crosstab formula suitable for xtabs |
... |
arguments to pass to xtabs |
Returns a crosstabulation, essentially a combination of xtabs
with proportions
and marginals.
VDCxtabs will call recodeVDCdf
to apply VDC metadata attributes for labels, and missing values.
Micah Altman vdc-dev@latte.harvard.edu http://thedata.org
xtabs
,
recodeVDCdf
,
VDCcrossTabulation
VDCxtabs(Freq~.,as.data.frame(Titanic))