datadr (version 0.8.4)

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

  • http://tessera.io
  • http://onlinelibrary.wiley.com/doi/10.1002/sta4.7/full{Guha, S., Hafen, R., Rounds, J., Xia, J., Li, J., Xi, B., & Cleveland, W. S. (2012). Large complex data: divide and recombine (D&R) with RHIPE.Stat, 1(1), 53-67.

See Also

divide, getSplitVars, getSplitVar

Examples

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

Run the code above in your browser using DataCamp Workspace