View source: R/remove_inf_and_nan.R
remove_inf_and_nan | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.