Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coalesce

Return first non null argument.


Description

This function is useful when processing complex arguments with multiple possible defaults based on other arguments that may or may not have been provided.

Usage

coalesce(...)

Arguments

...

List of values.

Value

First non null element in ....

Author(s)

Olaf Mersmann


microbenchmark

Accurate Timing Functions

v1.4-7
BSD_2_clause + file LICENSE
Authors
Olaf Mersmann [aut], Claudia Beleites [ctb], Rainer Hurling [ctb], Ari Friedman [ctb], Joshua M. Ulrich [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.