remove_inf_and_nan {SWMPrExtension}R Documentation

Replace Inf/-Inf/NaN values

Description

Replace Inf, -Inf, and NaN in a matrix with NA

Usage

remove_inf_and_nan(x)

Arguments

x

input matrix

Details

This function replaces Inf, -Inf, and NaN in a matrix with NA. It is used internally by several functions.

Value

Returns a matrix object

Author(s)

Julie Padilla


[Package SWMPrExtension version 2.2.5.1 Index]