Description Usage Arguments Details Value Author(s) Examples
Currently able to convert a data frame or a matrix into an xtabs
object.
1 2 3 4 5 6 7 |
x |
object (typically a data frame) to be converted to |
rowvar |
name of the row variable as character string |
colvar |
name of the column variable as character string |
labels |
Column of data frame that contains the lables of the row variable. |
... |
additional arguments to be passed to or from methods. |
The intended use it to convert a two-way contingency table stored in
a data frame or a matrix into an xtabs
object.
An xtabs
object.
Randall Pruim (rpruim@calvin.edu)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.