Description Usage Arguments Value Examples

View source: R/contactmatrix.R

This is simply the Kronecker product of the contact matrix `C`

with a matrix of ones of dimension `n`

x `n`

.

1 |

`C` |
a |

`n` |
the size of the secondary dimension to expand to. |

a square matrix with `n*ncol(C)`

rows and columns.

1 | ```
expandC(contactmatrix(), 2)
``` |

hhh4contacts documentation built on July 4, 2017, 9:44 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.