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.
Micah Altman vdc-dev@latte.harvard.edu http://thedata.org
VDCxtabs(Freq~.,as.data.frame(Titanic))