Accepts a data frame as input and computes a contingency table for direct use in combination with the magrittr package.
A data frame
A formula (as in xtabs) or one or more objects which can be interpreted as factors (including character strings), or a list (or data frame) whose components can be so interpreted.
categorize is a wrapper to xtabs or table such that a data frame can be given as the first argument.
A table (possibly as an xtabs class if a model formula was used)
Claus Ekstrom [email protected]
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.