R/recipe-api.R
add_known_propensity_score.Rd
This replaces the propensity score model with a known value of the propensity score.
add_known_propensity_score(hte_cfg, covariate_name)
HTE_cfg object to update.
HTE_cfg
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