Learn R Programming

iGraphMatch (version 2.0.5)

pad: 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)

Value

m padded with nr rows and nc columns of zeros.

Arguments

m

matrix

nr

number of rows to add

nc

number of columns to add. (default = nr)