The primary purpose is for inferring argument settings from names derived from variables
occurring in a formula. For example, the default use is to infer limits for variables
without having to call them xlim
and ylim
when the variables in the formula
have other names. Other uses could easily be devised by specifying different variants
.
a vector of variable names to look for
a named list of argument values
named list or alist of default values for limits
a vector of optional postfixes for limit-specifying variable names
a named list or alist of limits. The names are determined by the names in defaults
.
If multiple variants
are matched, the first is used.