if.na: if.na

Description Usage Arguments Examples

View source: R/tools.R

Description

This function sreplaces the NA in a list with a value

Usage

1
if.na(data, subs = "")

Arguments

data

an object to be checked if it's NA

subs

substitute the NA values with subs (Defauts empty string)

Examples

1
if.na(airquality$Ozone, -1)

etabari/ehsanr documentation built on Aug. 5, 2019, 4:07 p.m.