View source: R/functions_auxiliary.R
out_treat_household | R Documentation |
Outputs the exposure status for all observations in a household structure. Specifically, given a household structure, it returns which households are to be treated, and within each treated household, which kid is to be treated. Only one kid per treated household is going to be treated.
out_treat_household(housestruct, K1)
housestruct |
The house structure vector that gives the number of kids in each household |
K1 |
The number of houses to treat. |
A list specifies treated houses and treated kids in each treated houses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.