Combine vectors of various lengths
Combine arbitrary vectors of data, filling in missing rows with NaN
CombineCols(...,na.rm=FALSE)
...
: d vectors of arbitrary lengths, see examplena.rm
: boolean: FALSE: fills with NaN TRUE: filles with zerosRobust alternative to cbind
that fills missing values with nan instead of extending length of vector by duplicating elements
matrix of dimensionality of n x d with n beeing the length of the longest vector and d the number of vectors given as input
Craig Varrichio
special application by MCT of rowr cbind.fill which is now not on CRAN anymore
CombineRows
CombineCols(c(1,2,3),c(1),c(2,3))