Description Usage Arguments Details Value Author(s) See Also
Calculates the marginal totals and names for a crosstabulation.
1 | calculate.xtab(v1,v2,varnames=NULL)
|
v1,v2 |
The variables to be crosstabulated. |
varnames |
Labels for the variables (defaults to names(data)) |
calculate.xtab calls table for the base table, calculates the marginal totals and returns a list with these and the names of the variables that will be used by print.xtab.
A list containing the value of table, the row and column marginals and the names of the variables.
Jim Lemon
table, print.xtab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.