out_treat_household: Generating exposure status for household

View source: R/functions_auxiliary.R

out_treat_householdR Documentation

Generating exposure status for household

Description

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.

Usage

out_treat_household(housestruct, K1)

Arguments

housestruct

The house structure vector that gives the number of kids in each household

K1

The number of houses to treat.

Value

A list specifies treated houses and treated kids in each treated houses.


dpuelz/CliqueRT documentation built on Jan. 6, 2023, 11:20 p.m.