Description Usage Arguments Value Note Author(s) Examples
Collapse a data.frame into a delimited list with column names and cell values
1 |
x |
a data.frame |
footnotes |
include footnotes in collapse2d row |
rowid |
include row number |
na.string |
additional cell values to skip, default is NA and "" |
A vector with collapse2d table rows
Will detect subheaders and add column using repeatSub
Chris Stubben
1 2 | x <- data.frame(id=1:4, genes=c("aroB", "glnP", "ndhA","pyrF"))
collapse2(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.