Learn R Programming

microbenchmark (version 1.5.0)

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(...)

Value

First non null element in ....

Arguments

...

List of values.

Author

Olaf Mersmann