
Plot graphs relevant to transportability analysis using IOPW
plot.transportIP.RdPlot 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
transportIPfunction- type
One of
"propensityHist", "propensitySMD", "participationHist", "participationSMD", "msm".Histproduces mirrored histograms of estimated probability of treatment between treatment groups (forpropensity), or of estimated probability of participation between study and target data (forparticipation).SMDproduces SMD plots of covariates between treatment groups (forpropensity) or effect modifiers between study and target data (forparticipation).msmproduces 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