
Plot graphs relevant to transportability analysis using IOPW
plot.transportIP.Rd
Plot graphs for assessment of covariate balance and results in a IOPW analysis. This function currently supports mirrored histograms, SMD plots and model coefficient plots.
Usage
# S3 method for class 'transportIP'
plot(
x,
type = "propensityHist",
bins = 50,
covariates = NULL,
effectModifiers = NULL,
...
)
Arguments
- x
Result from
transportIP
function- type
One of
"propensityHist", "propensitySMD", "participationHist", "participationSMD", "msm"
.Hist
produces mirrored histograms of estimated probability of treatment between treatment groups (forpropensity
), or of estimated probability of participation between study and target data (forparticipation
).SMD
produces SMD plots of covariates between treatment groups (forpropensity
) or effect modifiers between study and target data (forparticipation
).msm
produces plots showing confidence intervals for the model coefficients, which should have the correct standard errors.- bins
Number of bins for propensity score/participation probability histograms. This is only used for
Hist
.- covariates
Vector of strings indicating names of covariates in propensity model
- effectModifiers
Vector of strings indicating names of effect modifiers in participation model
- ...
Further arguments from previous function or to pass to next function