Description Usage Arguments Value Note Author(s) References See Also Examples
This function takes a multi-dimensionnal contingency table and expands it to a data frame containing individual records.
1 2 3 4 |
x |
An object of type |
... |
Further arguments passed to or from other methods. |
A data frame of the individual records derived from x
.
The function is inspired from the "Cookbook for R".
It should also be noted that the cells od x
are rounded before being
expanded in a data frame.
Johan Barthelemy.
Maintainer: Johan Barthelemy johan@uow.edu.au.
Cookbook for R - http://www.cookbook-r.com/Manipulating_data/Converting_between_data_frames_and_contingency_tables/
expand.grid
and as.data.frame
.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.