coalesce: Coalesce to Return First Non-NA

Description Usage Arguments Value Examples

Description

Evaluates the given argument in the order in which they were passed. This function will return the first argument that does NOT evaluate to NA.

Usage

1

Arguments

...

Arguments to evaluate

Value

The first non NA argument

Examples

1
coalesce(NA, "second","third",4, NA,"sixth")

Tsunamical28/mdpr documentation built on May 9, 2019, 5:15 p.m.