GrabFillMatrix

GrabFillMatrix(M, ind, M1 = NULL)

Arguments

M

source matrix that will be either subtracted or filled in.

ind

vector of index that of where to be subtracted or filled in.

M1

additional matrix used to fill in the source matrix, the default it NULL.

Details

This function helps subtract or fill in a matrix given the index.

Author

Dongchen Zhang