View source: R/utils_effects.R
| prep_w_mat | R Documentation | 
Creates matrix of binary treament indicators (n x T+1) where each column contains a binary indicator for one treatment.
prep_w_mat(w)
| w | Treatment vector. Provide as factor to control ordering of the treatments, otherwise program orders treatments in ascending order or alphabetically. | 
Logical matrix of treatment indicators (n x T+1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.