Retreive Direct Effect estimates
Retrieves the population average direct causal effect for a specified allocation: .
direct_effect(object, allocation = NULL, trt.lvl1 = 0)
object
: an object of class interference
allocation
: the allocation scheme for which to estimate direct effects. If NULL, then returns all direct effects.trt.lvl1
: Defaults to 0.a data.frame with requested values
Useful links