Description Usage Arguments Value
View source: R/01_prepare_data.R
.. content for details ..
1 | calculate_weight(A, ps0, ps1, ps2, levels, weight_type)
|
A |
Treatment indicator vector having three levels indicated in |
ps0 |
PS vector for the first level. |
ps1 |
PS vector for the second level. |
ps2 |
PS vector for the third level. |
levels |
Character vector holding three elements corresponding to levels in |
weight_type |
Either one of |
A numeric vector of individual PS weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.