fmla2treatedblocking: (Internal) A helper function to turn formulas into treatment...

Description Usage Arguments Value

Description

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.

Usage

1

Arguments

x

A formula

...

Arguments to be passed to model.frame (e.g. data)

Value

data.frame containing two columns: Z is a treatment indicator, B is a blocking factor



Search within the optmatch package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.