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


NOAA-OCM/SWMPrExtension documentation built on May 1, 2023, 10:19 p.m.