Learn R Programming

yamlet (version 1.2.1)

arbitrate.default: Arbitrate Default

Description

Arbitrates two attributes, the first of which is non-NULL and non-list. If y is list, x is promoted to list and re-arbitrated thus. Otherwise, x is returned, with warning if y not identical and not NULL.

Usage

# S3 method for default
arbitrate(x, y, tag = "", ...)

Value

list if y is list, else x

Arguments

x

left attribute

y

right attribute

...

passed arguments