datadr (version 0.8.6.1)

condDiv: Conditioning Variable Division

Description

Specify conditioning variable division parameters for data division

Usage

condDiv(vars)

Arguments

vars

a character string or vector of character strings specifying the variables of the input data across which to divide

Value

a list to be used for the "by" argument to divide

Details

Currently each unique combination of values of vars constitutes a subset. In the future, specifying shingles for numeric conditioning variables will be implemented.

References

See Also

divide, getSplitVars, getSplitVar

Examples

Run this code
# NOT RUN {
d <- divide(iris, by = "Species")
# equivalent:
d <- divide(iris, by = condDiv("Species"))
# }

Run the code above in your browser using DataLab