Learn R Programming

arkhe (version 1.10.0)

null: Default value for NULL

Description

Replaces NULL with a default value.

Usage

x %||% y

Value

If x is NULL, returns y; otherwise returns x.

Arguments

x, y

An object.

See Also

Other utilities: concat