extractval | R Documentation |
Formula helpers
Extractval with multiple options
extractval(term, name, default_for_missing = FALSE, default = NULL)
extractvals(term, names)
extractlen(term, data)
form2text(form)
term |
formula term |
name |
character; the value to extract |
default_for_missing |
logical; if TRUE, returns |
default |
value returned when missing |
names |
character vector of names |
data |
a data.frame or list |
form |
formula that is converted to a character string |
the value used for name
extractval("s(a, la = 2)", "la")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.