coalesce: Coalesce values

Description Usage Arguments Value

View source: R/helpers.R

Description

Coalesce values

Usage

1
coalesce(a, b)

Arguments

a

high priority

b

low priority

Value

return values according to priority, and NA where both a and b are missing.


theoldfather/KaggleR documentation built on May 27, 2017, 5:31 a.m.