Description Usage Arguments Value Author(s)
The function wrapTable takes a data frame object, or an object that can be coerced to be a data frame (such as a matrix) and breaks it into two or more data frames, each with a fixed number of columns, but which collectively have all the columns of the original table. The rows of the corresponding tables are then converted to pipe delimited strings, and the full collection of rows is returned as a character vector.
1 |
dframe |
A data frame (or an object that can be coerced to a data frame) |
width |
The maximum number of columns to include in each table. If the first column contains rows names, this column is included in the width of the table. |
first.rnames |
A logical value which indicates if the first column of the table contains row names that should be included in all the new tables as the first column of each table. |
round.level |
level of rounding. |
The function returns a character vector, each element of which contains a row of the table, including the column names, with the cell values in each row delimited by pipes.
Dan Putler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.