Description Usage Arguments Value Note
Replace (fill) elements of a matrix (or data.frame) with a value for given pairs of row and column indices.
1 | fill.matrix(outcome, x, rownr, dalknr)
|
outcome |
Input matrix/data.frame |
x |
Value or values to replace/fill with |
rownr |
Row index/indices |
dalknr |
Column index/indices |
Matrix or data.frame with given values replaced.
Probably redundant, not called by any geo-function, the same effect
could be achieved with an assignment to a matrix with an index-matrix of the
values in rownr and dalknr: mat[matrix(c(rownr, dalknr), ncol = 2)] <-
x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.