as.quoted {plyr}R Documentation

Convert input to quoted variables

Description

Convert characters, formulas and calls to quoted .variables

Usage

as.quoted(x)

Arguments

x

Details

This method is called by default on all plyr functions that take a .variables argument, so that equivalent forms can be used anywhere.

Currently conversions exist for character vectors, formulas and call objects.

Value

a list of quoted variables

Author(s)

Hadley Wickham <h.wickham@gmail.com>

See Also

.

Examples

as.quoted(c("a", "b", "log(d)"))
as.quoted(a ~ b + log(d))

[Package plyr version 0.1.5 Index]