arbitrate.default: Arbitrate Default

View source: R/dvec.R

arbitrate.defaultR Documentation

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

## Default S3 method:
arbitrate(x, y, tag = "", ...)

Arguments

x

left attribute

y

right attribute

...

passed arguments

Value

list if y is list, else x


yamlet documentation built on Oct. 6, 2023, 9:07 a.m.