inf_to_NA: Conert infinite values to 'NA'

View source: R/misc.R

inf_to_NAR Documentation

Conert infinite values to NA

Description

Conert infinite values to NA

Usage

inf_to_NA(x)

Arguments

x

A vector

Value

A vector of the same length as x

Examples

c(1, 2, Inf, 3) %>% inf_to_NA()

Deleetdk/kirkegaard documentation built on Feb. 28, 2025, 5:04 p.m.