.coalesce {GTAPViz}R Documentation

Coalesce Two Values

Description

Returns the first non-NULL value from the given inputs.

Usage

.coalesce(x, y)

Arguments

x

First value to check.

y

Fallback value if 'x' is NULL.

Value

The first non-NULL value. If 'x' is NULL, returns 'y'.


[Package GTAPViz version 1.1.3 Index]