all.names | R Documentation |
Return a character vector containing all the names which occur in an expression or call.
all.names(expr, functions = TRUE, max.names = -1L, unique = FALSE) all.vars(expr, functions = FALSE, max.names = -1L, unique = TRUE)
expr |
an expression or call from which the names are to be extracted. |
functions |
a logical value indicating whether function names should be included in the result. |
max.names |
the maximum number of names to be returned. |
unique |
a logical value which indicates whether duplicate names should be removed from the value. |
These functions differ only in the default values for their arguments.
A character vector with the extracted names.
substitute
to replace symbols with values in an expression.
all.names(expression(sin(x+y))) all.names(quote(sin(x+y))) # or a call all.vars(expression(sin(x+y)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.