Rdocumentation
powered by
Learn R Programming
bayesbio (version 1.0.0)
cbindFill: cbind while converting missing entries to NA.
Description
cbind usually malfunctions on vector of unequal lengths; this function allows vectors of unequal length to be combined, while filling the missing entries with NAs.
Usage
cbindFill(...)
Arguments
...
A set of vectors separated by commas.
Value
A matrix that combines the inputted vectors.
References
http://r.789695.n4.nabble.com/How-to-join-matrices-of-different-row-length-from-a-list-td3177212.html; http://stackoverflow.com/a/7962286/560791