plot.ATE_internal | R Documentation |
This function creates forest plots of objects of class "ATE_internal".
## S3 method for class 'ATE_internal'
plot(x, source_names, ...)
x |
Object of class "ATE_internal". |
source_names |
optional, vector of character strings specifying the names of the sources. Defaults are the values in |
... |
Other arguments, which are passed to |
No value is returned.
ATE_internal
ai <- ATE_internal(
X = dat_multisource[, 1:10],
Y = dat_multisource$Y,
S = dat_multisource$S,
A = dat_multisource$A,
source_model = "MN.glmnet",
source_model_args = list(),
treatment_model_type = "separate",
treatment_model_args = list(
family = binomial(),
SL.library = c("SL.glmnet", "SL.nnet", "SL.glm"),
cvControl = list(V = 5L)
),
outcome_model_args = list(
family = gaussian(),
SL.library = c("SL.glmnet", "SL.nnet", "SL.glm"),
cvControl = list(V = 5L)
)
)
plot(ai)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.