evaluations: Function 'evaluations'

Description Usage Arguments Details Value See Also

View source: R/utils.R

Description

Evaluates multiple wildcards. This is an internal utility function only. The use of evaluate is exactly the same, and it is recommended that users use evaluate directly rather than evaluations.

Usage

1
evaluations(x, rules = NULL, expand = TRUE)

Arguments

x

argument data frame

rules

Named list with wildcards as names and vectors of replacements as values. See the Details section for more.

expand

If TRUE, loop over the values in rules when evaluating the wildcards, creating more rows in the output data frame. Otherwise, each occurance of the wildcard is replaced with the next entry in the values vector, and the values are recycled.

Details

Evaluates multiple wildcards by running multiple calls to evaluate, with one call for every entry in the rules list. In the calls to evaluate, the names of rules are plugged into wildcard, and the elements of rules are plugged into values. Use the help_remakeGenerator function to get more help.

Value

an evaluated data frame

See Also

help_remakeGenerator, evaluate


wlandau/remakeGenerator documentation built on May 4, 2019, 8:44 a.m.