(Internal) A helper function to turn formulas into treatment and blocking variables
Given a function and any of the arguments normally passed to model.frame, this function will return a data.frame with two columns: a treatment indicator and a blocking factor.
Arguments to be passed to model.frame (e.g.
data.frame containing two columns:
Z is a treatment indicator,
B is a blocking factor
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.