tab-fill | R Documentation |
Fill a table with a number
tab_fill(tab, fill = 1L)
tabFill(...)
tab |
a contingency table |
fill |
the number to fill the contingency table with |
... |
... |
a named numeric vector
Titanic
tab_fill(Titanic)
tab_fill(Titanic, 1L)
tab_fill(Titanic, 0L)
nCells <- prod(dim(Titanic))
tab_fill(Titanic, rpois(nCells, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.