Learn R Programming

aqp (version 1.42)

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

Value

A list where names are expression "names" from ... and values are the result of evaluating expressions in context of .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

Examples

Run this code
# .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)

Run the code above in your browser using DataLab