Description Usage Arguments Value
Returns the first non-NA argument, similar to the SQL function coalesce. If a vector or matrix is passed as first argument, the remaining arguments are recycled to generate a vector/matrix of the same dimension, and coalescing is done element by element. Taken from krlmlr's misc package, referenced at StackOverflow.
1  | 
x | 
 The first value to coalesce.  | 
... | 
 Other values to coalesce.  | 
A vector of the same length as x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.