na_inf: Replace NAs with Inf

Description Usage Arguments Details Value See Also Examples

View source: R/na_inf.R

Description

Replaces NAs by Inf

Usage

1
2
3

Arguments

x

vector of values to have the NA replaced with value

Details

This is simply a wrapper aroung na_replace that replaces NA values in the supplied vector with Inf a default, value.

Value

x with NAs replaced by value.

See Also

na_replace

Examples

1
2
3
  na_inf( c( 1, 2, NA, 4) )
  na_neginf( c( 1, 2, NA, 4) ) 
  

decisionpatterns/na.actions documentation built on Aug. 25, 2020, 8:04 p.m.