diagnostics | R Documentation |
Run a set of diagnostic plots. Note that for this function to
work, est_ce
must be run with return_extras=T
.
diagnostics(obj)
obj |
An object of class |
A combined plot of model diagnostics
data(hvtn505)
dat <- load_data(time="HIVwk28preunblfu", event="HIVwk28preunbl", vacc="trt",
marker="IgG_V2", covariates=c("age","BMI","bhvrisk"),
weights="wt", ph2="casecontrol", data=hvtn505)
ests_np <- est_ce(dat=dat, type="NP", t_0=578, return_extras=TRUE)
diagnostics(ests_np)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.