remove_inf_and_nan: Replace Inf/-Inf/NaN values

View source: R/remove_inf_and_nan.R

remove_inf_and_nanR 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


SWMPrExtension documentation built on April 21, 2023, 1:14 a.m.