Description Usage Arguments Value
Retrieves the population average total causal effect for specified allocations: Yhat(0, alpha1) - Yhat(1, alpha2)
1 2 3 | total_effect(object, allocation1, allocation2 = NULL, trt.lvl1 = 0)
te(object, allocation1, allocation2 = NULL, trt.lvl1 = 0)
|
object |
an object of class |
allocation1 |
the allocation scheme for which to estimate total effects |
allocation2 |
the allocation scheme for which to estimate total effects If NULL, then returns all indirect effects compared to allocation1. |
trt.lvl1 |
Defaults to 0. |
a data.frame with requested values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.