Description Usage Arguments Value See Also Examples
get.vars
extracts variable names from various R objects such as
formulas, expressions, calls, symbols, etc. It is very similar to
all.vars
except that all symbols, etc. are interpolated
to the names of variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | get.vars(x, data = NULL, ...)
## S4 method for signature 'formula,ANY'
get.vars(x, data = NULL, ...)
## S4 method for signature 'call,ANY'
get.vars(x, data = NULL, ...)
## S4 method for signature 'expression,missing'
get.vars(x, data = NULL, ...)
## S4 method for signature 'name,ANY'
get.vars(x, data = NULL, ...)
## S4 method for signature 'ANY,ANY'
get.vars(x, data = NULL, ...)
## S4 method for signature ''NULL',ANY'
get.vars(x, data = NULL, ...)
lhs.vars(x, ...)
.lhs.vars(x, ..., data = NULL)
## S4 method for signature 'formula'
lhs.vars(x, ..., data = NULL)
## S4 method for signature 'call'
lhs.vars(x, ..., data = NULL)
## S4 method for signature 'expression'
lhs.vars(x, ...)
rhs.vars(x, ...)
.rhs.vars(x, ..., data = NULL)
## S4 method for signature 'formula'
rhs.vars(x, ..., data = NULL)
## S4 method for signature 'call'
rhs.vars(x, ..., data = NULL)
## S4 method for signature 'expression'
rhs.vars(x, ...)
|
x |
object to extract vars from. |
data |
data set/list or environment on which the names are defined |
... |
arguments passed to subsequent functions
Methods/functions beginning with |
character vector of variables names in order that they appear in
x
.
1 2 3 |
Loading required package: operator.tools
[1] "Species" "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width"
[1] "Sepal.Length" "Sepal.Width"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.