get_val | R Documentation |
Get Value or Default
get_val(x, key = NULL, ..., .invalids = c("null", "na"))
x |
a list, or environment, or just any R object |
key |
the name to obtain from |
... |
if the value is invalid, the default value to return |
.invalids |
what counts as invalid? Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.