Description Usage Arguments Value Author(s)
Often, one does not want to span a data frame over several pages. This function
breaks a n \times p data frame in a data frame with ceiling(n / cols)
rows and cols * p
columns.
1 | colToMat(tab, cols)
|
tab |
The data frame to be reformatted. |
cols |
Number of columns of the reformatted data.frame. |
Returns the reformatted data frame.
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.