plot.ATE_internal {CausalMetaR} | R Documentation |
Plot method for objects of class "ATE_internal"
Description
This function creates forest plots of objects of class "ATE_internal".
Usage
## S3 method for class 'ATE_internal'
plot(x, source_names, ...)
Arguments
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 |
Value
No value is returned.
See Also
Examples
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)
[Package CausalMetaR version 0.1.2 Index]