expandC: Expand the Contact Matrix over Regions

Description Usage Arguments Value Examples

View source: R/contactmatrix.R

Description

This is simply the Kronecker product of the contact matrix C with a matrix of ones of dimension n x n.

Usage

1
expandC(C, n)

Arguments

C

a contactmatrix.

n

the size of the secondary dimension to expand to.

Value

a square matrix with n*ncol(C) rows and columns.

Examples

1

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