match_arg: match.arg defaulting to all choices

match_argR Documentation

match.arg defaulting to all choices

Description

equivalent to base::match.arg, but returns all choices on arg=NULL if several.ok=TRUE

Usage

match_arg(arg, choices, several.ok = FALSE)

thackl/gggenomes documentation built on March 10, 2024, 7:26 a.m.