fill.matrix: Relace elements of a matrix
Description
Replace (fill) elements of a matrix (or data.frame) with a value for given
pairs of row and column indices.
Usage
fill.matrix(outcome, x, rownr, dalknr)
Arguments
outcome
Input matrix/data.frame
x
Value or values to replace/fill with
dalknr
Column index/indices
Value
Matrix or data.frame with given values replaced.