| im_merge | R Documentation |
From two incidience matrices, create a single incidence matrix. Matrices may contain same row or column elements.
im_merge(obj1, obj2)
## S3 method for class 'matrix'
im_merge(obj1, obj2)
## S3 method for class 'incidence_matrix'
im_merge(obj1, obj2)
obj1, obj2 |
Two incidence matrices of any size. |
A single incidence matrix.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.