vars | R Documentation |
Concatenate or generate multiple variable descriptions
## S3 method for class 'var'
c(...)
as.vars(object)
object |
an object |
... |
a list of variable objects |
c()
can be used to concatenate multiple variable objects; the corresponding
generics also work for the resulting object. as.vars()
tries to infer a
formal description from data.
f <- factor_var("x", levels = LETTERS[1:3])
n <- numeric_var("y")
fn <- c(f, n)
variable.names(fn)
support(fn)
is.bounded(fn)
mkgrid(fn, n = 9)
as.vars(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.