match_arg: Default in the event of NULL arguments

View source: R/utilities.R

match_argR Documentation

Default in the event of NULL arguments

Description

Default in the event of NULL arguments

Usage

match_arg(x, default)

Arguments

x

argument to check if null

default

value to supply if argument is null

Value

original argument if not null; default otherwise


the-mad-statter/washu documentation built on May 5, 2024, 10:26 a.m.