pad {iGraphMatch}R Documentation

Pad a matrix object with extra rows/columns of 0s.

Description

Attempts are made to make this padding efficient by employing sparse graphs

Usage

pad(m, nr, nc = nr)

Arguments

m

matrix

nr

number of rows to add

nc

number of columns to add. (default = nr)

Value

m padded with nr rows and nc columns of zeros.


[Package iGraphMatch version 2.0.5 Index]