View source: R/policy_eval_functions.R
plot.policy_eval | R Documentation |
policy_eval
objectPlot histogram of the influence curve for a policy_eval
object
## S3 method for class 'policy_eval'
plot(x, ...)
x |
Object of class policy_eval |
... |
Additional arguments |
d <- sim_two_stage(2e3, seed=1)
pd <- policy_data(d,
action = c("A_1", "A_2"),
baseline = "BB",
covariates = list(L = c("L_1", "L_2"),
C = c("C_1", "C_2")),
utility = c("U_1", "U_2", "U_3"))
pe <- policy_eval(pd,
policy_learn = policy_learn())
plot(pe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.