autoplot.SensIAT_fulldata_model | R Documentation |
SensIAT_fulldata_model
ObjectsThe horizontal and vertical axes represent the sensitivity parameter alpha
for the control and treatment groups, respectively. The contour plot shows
the estimated treatment effect at each combination of alpha
values.
## S3 method for class 'SensIAT_fulldata_model'
autoplot(object, time, include.rugs = NA, ...)
object |
A |
time |
Time at which to plot the estimates. |
include.rugs |
If |
... |
Additional arguments passed to |
A ggplot2
object.
full.object <-
fit_SensIAT_fulldata_model(
data = SensIAT_example_fulldata,
trt = Treatment_group == 'treatment',
outcome_modeler = fit_SensIAT_single_index_fixed_coef_model,
id = Subject_ID,
outcome = Outcome,
time = Time,
knots = c(60, 260, 460),
alpha = c(-0.6, -0.3, 0, 0.3, 0.6)
)
ggplot2::autoplot(full.object, time = 180)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.