merge.matrix: Merge Two Matrices
Description
Merge two matrices by common column names. Resulting matrix includes all data. Empty cells are filled with NA's.
Usage
# S3 method for matrix
merge(x, y, ...)
Arguments
x
First matrix to be merged.
y
Second matrix to be merged.
Value
A matrix resulting from a join of the 2 matrices.