ifnull: Replace NULL values

Description Usage Arguments Value Examples

Description

This function will replace all NULL with given value

Usage

1
ifnull(x, y)

Arguments

x

data to check for NULL

y

values to be used in place of NULL

Value

updated data

Examples

1
2
3
4
5
## Not run: 
temp = list()
temp$val1 = ifnull(temp$val1, 4)

## End(Not run)

drewgriffith15/griffun documentation built on May 15, 2019, 1:56 p.m.