expandC | R Documentation |
This is simply the Kronecker product of the contact matrix C
with a matrix of ones of dimension n
x n
.
expandC(C, n)
C |
a |
n |
the size of the secondary dimension to expand to. |
a square matrix with n*ncol(C)
rows and columns.
expandC(contactmatrix(), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.