add_known_propensity_score | R Documentation |
This replaces the propensity score model with a known value of the propensity score.
add_known_propensity_score(hte_cfg, covariate_name)
hte_cfg |
|
covariate_name |
Character indicating the name of the covariate name in the dataframe corresponding to the known propensity score. |
Updated HTE_cfg
object
library("dplyr")
basic_config() %>%
add_known_propensity_score("ps") -> hte_cfg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.