Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dot-data_dots

Make a data.frame from non-standard expressions evaluated in a data environment


Description

Make a data.frame from non-standard expressions evaluated in a data environment

Usage

.data_dots(.data, ...)

Arguments

.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

Value

A list where names are expression "names" from ... and values are the result of evaluating expressions in context of .data

Examples

# .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)

aqp

Algorithms for Quantitative Pedology

v1.29
GPL (>= 3)
Authors
Dylan Beaudette [aut, cre], Pierre Roudier [aut, ctb], Andrew Brown [aut, ctb]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.