Learn R Programming

RMixpanel (version 0.7-1)

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.

...

Not used.

Value

A matrix resulting from a join of the 2 matrices.