im.merge {lakhesis} | R Documentation |
Merge Two Incidence Matrices
Description
From two incidience matrices, create a single incidence matrix. Matrices may contain same row or column elements.
Usage
im.merge(obj1, obj2)
Arguments
obj1 , obj2 |
Two incidence matrices of any size. |
Value
A single incidence matrix.
Examples
data(quattrofontanili)
qf1 <- quattrofontanili[1:20, 1:40]
qf1 <- qf1[rowSums(qf1) != 0, colSums(qf1) != 0]
qf2 <- quattrofontanili[30:50, 20:60]
qf2 <- qf2[rowSums(qf2) != 0, colSums(qf2) != 0]
im.merge(qf1, qf2)
[Package lakhesis version 0.0.1 Index]