Description Usage Arguments Details Value Author(s) Examples
Given a two dimensions contingency tables, this function outputs HTML code to display, within a dynamic tabbed interface, the count, line row percentages, column percentages and chi-squared residuals tables.
1 2 |
tab |
a two dimensions table object |
count |
wether or not to the display the count table |
rows |
wether or not to the display the row percentages table |
cols |
wether or not to the display the column percentages table |
chisq |
wether or not to the display the table chi-squared test results |
resid |
wether or not to the display the chi-squared residuals table |
row.names |
wether or not to display the table row names |
The function is intended to be called inside an rmarkdown document.
No value is returned.
Julien Barnier <julien.barnier@ens-lyon.fr>
1 2 3 | data(airquality)
tab <- table(airquality$Month, airquality$Ozone > 25)
pilltabs(tab)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.