is_null: Replace empty value with alternative

Description Usage Arguments Value

Description

Function checks if provided value is NA and replaces it with alternative value

Usage

1
is_null(x, y)

Arguments

x
  • vector of main values

y
  • vector of alternative values (if main value is empty)

Value

Either main value (if it is not NA) or alternative value


2DegreesInvesting/pacta documentation built on June 17, 2019, 12:04 p.m.