R/datadots.R
dot-data_dots.Rd
Make a data.frame from non-standard expressions evaluated in a data environment
.data_dots(.data, ...)
A list, or object coercible to one, describing the data
One or more expressions (preferably named e.g. foo = "bar"
) to evaluate in .data
A list
where names are expression "names" from ...
and values are the result of evaluating expressions in context of .data
# .data_dots(data.frame(a = 1:10, b = 2:11), cc = a + b, d = cc * 2)
# data("jacobs2000", package="aqp")
# .data_dots(compositeSPC(jacobs2000), clayprop = clay / 100)