Learn R Programming

JointAI (version 1.1.0)

replace_nan_with_na: Replace NaN values with NA

Description

Replace NaN values with NA

Usage

replace_nan_with_na(x)

Value

the vector (or object like the input) with NaN values replaced by NA

Arguments

x

a vector (also works for matrices and scalars)