View source: R/functions_auxiliary.R
out_house_structure | R Documentation |
Define a house structure vector that describes the population in each household, which is useful in the clustered interference. In this running example, houses refer to clusters and kids refer to experimental units.
out_house_structure(N = 900, K = N/3, equal = T)
N |
The number of observations (kids) |
K |
The number of households |
equal |
A binary parameter that determines the exact house structure. If |
A vector of length K
that gives the number of kids in each household.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.