treat_model | R Documentation |
Specifies the functional form and estimation engine for a treatment
previously specified by set_treatment()
.
treat_model(object, formula, engine, separate = TRUE, include_past = TRUE, ...)
object |
A |
formula |
A formula specifying the design matrix of the
covariates. Passed to fitting engine or used with
|
engine |
String indicating the name of the fitting engine. |
separate |
Logical indicating whether the fitting algorithm should be applied separately to each history of the treatment variables up to this point (default) or not. |
include_past |
A logical value where |
... |
Other arguments to be passed to the engine algorithms. |
Matthew Blackwell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.