extractval | R Documentation |
Formula helpers
extractval(term, name, default_for_missing = FALSE, default = NULL) 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 |
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.