nan_to_na: Convert Nan to NA

View source: R/utilities.R

nan_to_naR Documentation

Convert Nan to NA

Description

Convert Nan to NA

Usage

nan_to_na(x, na_val = NA_real_)

mat_nan_to_na(x, na_val = NA_real_)

Arguments

x

Scalar/vector

na_val

Value used for NA, default: NA_real_


MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.