replaceNaN_byname | R Documentation |
NaN
values with a valueIn a matrix or within matrices in a list,
replace all NaN
matrix values with val.
replaceNaN_byname(a, val = 0)
a |
A matrix of list of matrices in which |
val |
|
A matrix or list of matrices in which all NaN
are replaced by val
.
suppressWarnings(a <- matrix(c(1, sqrt(-1))))
replaceNaN_byname(a)
replaceNaN_byname(a, 42)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.