remove_inf_and_nan {SWMPrExtension} | R Documentation |
Replace Inf
, -Inf
, and NaN
in a matrix with NA
remove_inf_and_nan(x)
x |
input matrix |
This function replaces Inf
, -Inf
, and NaN
in a matrix with NA
. It is used internally by several functions.
Returns a matrix
object
Julie Padilla