View source: R/visualizer-lib-utils.R
get_dot_args | R Documentation |
Helper function to merge default and user-specified dot (...) arguments such that default arguments are overwritten by the user-specified arguments.
get_dot_args(user_args, default_args)
user_args |
List of user-specified dot (...) arguments. |
default_args |
List of default dot (...) arguments. |
A named list of arguments that includes all arguments from the user and the defaults, but with the user-specified arguments overwriting the defaults.
arg_list <- get_dot_args(user_args = list(a = 1, b = 2, c = 3),
default_args = list(a = "a", d = "d"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.