filter_arguments | R Documentation |
extract the normal call arguments, and embedded function call arguments and return as lists named according to their rendering functions.
filter_arguments(fun.name, ..., custom.config = FALSE)
fun.name |
the name of the rendering function |
... |
arguments to |
custom.config |
logical to use custom or global config file |
list with arguments. List is named according to function names.
gs <- gsplot() %>%
points(x=1:5, y=1:5, xlim=c(0,10), ylim=c(0,10),
callouts(labels=c(rep(NA, 4), "oh")),
error_bar(offset.up=1))
gs
gsplot:::filter_arguments('points', x=2:6, y=2:6, ylim=c(-1, 11))$call.args
gsplot:::filter_arguments('points', x=1:5, y=1:5, xlim=c(0,10), ylim=c(0,10),
callouts(labels=c(rep(NA, 4), "oh")))$extracted.args
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.