Description Usage Arguments Value See Also Examples
View source: R/expandFunctions.R
Replace values in an R object coerible to a matrix. It is useful for replacing NA with other values, etc., such as with padding values.
1 | eReplace(X, a, b)
|
X |
R object coercible to a matrix |
a |
Value to be replaced |
b |
Value to replace |
X with all a's replaced with b's. a may be NA
replace
, which performs the same
operation on vectors, and on which this operation is based.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.