View source: R/graphics_helpers.R
listify_args | R Documentation |
Convert arguments for a single call into Map-able args
listify_args(
...,
lengths = NA,
passthru = c("x", "y"),
notlen1vec = c("lim", "xlim", "ylim"),
notlen1lst = c("minmax", "min", "max"),
ignore = c("same_lim")
)
... |
Arbitrary arguments to be possibly converted into lists of arguments. |
lengths |
Allowable lengths of the arguments, typically 1 and
the length of the main variable (e.g., "x"). If |
passthru |
Character vector of variables to pass through with
no conversion to lists of values. Extra names (not provided in
|
notlen1vec |
Character vector of variables that are known to
be length over 1 for a single plot call, so it will always be
list-ified and extra care to ensure it is grouped correctly.
Extra names (not provided in |
notlen1lst |
Character vector of variables that are lists, so
the inner list length is not checked/enforced. (For example, if a
single plot call takes an argument |
ignore |
Character vector of variables to ignore, never returned. (Generally one can control this by not adding the variable in the first place, but having this here allows some sanity checks and/or programmatic usage.) |
list, generally a list of embedded lists
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.