Takes vectors as input and outputs a matrix of the complete cases across these vectors.
completeVecs(...)
... | The vectors that need to be combined. |
---|
A matrix with the same number of columns as there are input vectors.
Short vectors are recycled without warnings. If your vectors are different lengths, you should decide whether this is a desirable behavior or not before using this function.
http://stackoverflow.com/a/20146003/1270695
Ananda Mahto
#> A B #> [1,] 8 7 #> [2,] 9 10#> A B C #> [1,] 8 7 2 #> [2,] 9 10 1