View source: R/report.propTable.R
| report.propTable | R Documentation | 
The function print the contingency table with columns sums or rowsums.
report.propTable(x, y, margin = NULL, dec = 1)
x | 
 First categorical variable.  | 
y | 
 Second categorical variable.  | 
margin | 
 Index to generate margin for. If   | 
dec | 
 The number of decimal places to round the values.  | 
Marjan Cugmas
report.propTable(x = mtcars$gear, y = mtcars$carb, margin = 1, dec = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.