Description Usage Arguments Value Author(s) Examples
Reshape a data.frame or matrix to a long data.frame
Reshape a data.frame or matrix to a wide data.frame
1 2 3 4 |
wide |
A data.frame or matrix in wide form |
rowname |
Name for the row variable |
colname |
Name for the column variable |
responseName |
Name for the response variable. If |
varNames |
Default names for the row and column variables if not passed as |
long |
A data.frame in long form |
row |
Column index or quoted name of the row variable |
col |
Column index or quoted name of the column variable |
response |
Column index or quoted name of the response variable |
A data.frame in long format
Michael Friendly and Richard M. Heiberger
Michael Friendly and Richard M. Heiberger
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.