rbindFill | R Documentation |
This function combines instances of matrix
, data.frame
or DataFrame
objects into a single instance adding eventually missing columns (filling
them with NA
s).
rbindFill(...)
... |
2 or more: |
Depending on the input a single matrix
, data.frame
or
DataFrame
.
rbindFill
might not work if one of the columns contains S4 classes.
Johannes Rainer, Sebastian Gibb
Other helper functions for developers:
between()
,
isPeaksMatrix()
,
validPeaksMatrix()
,
vapply1c()
,
which.first()
## Combine matrices
a <- matrix(1:9, nrow = 3, ncol = 3)
colnames(a) <- c("a", "b", "c")
b <- matrix(1:12, nrow = 3, ncol = 4)
colnames(b) <- c("b", "a", "d", "e")
rbindFill(a, b)
rbindFill(b, a, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.