View source: R/replace_default.R
replace_default | R Documentation |
Replace default elements in a named list with corresponding elements in a new list.
replace_default(
default_param,
new_param,
add_new = FALSE,
warning_context = NULL
)
default_param |
Named list with elements to potentially replace ("defaults"). |
new_param |
Named list with elements to replace with. |
add_new |
Logical, if TRUE elements with names unique to |
warning_context |
String to add to the beginning of warning message if any unsupported parameters are detected (if add_new is FALSE). Default (NULL) produces no warning. |
A named list where overlapping elements with overlapping names are replaced.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.