powered by
Convert characters, formulas and calls to quoted .variables
as.quoted(x, env = parent.frame())
input to quote
environment in which unbound symbols in expression should be evaluated. Defaults to the environment in which as.quoted was executed.
as.quoted
a list of quoted variables
This method is called by default on all plyr functions that take a .variables argument, so that equivalent forms can be used anywhere.
.variables
Currently conversions exist for character vectors, formulas and call objects.
.
# NOT RUN { as.quoted(c("a", "b", "log(d)")) as.quoted(a ~ b + log(d)) # }
Run the code above in your browser using DataLab