Format estimates returned by est_ce
as a table
Arguments
- ...
One or more objects of class
"vaccine_est"
returned byest_ce
.- which
One of c("CR", "CVE"); controls whether the table contains CR or CVE values.
- labels
A character vector of length equal to length(list(...)) representing curve labels
Examples
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)
# \donttest{
ests_cox <- est_ce(dat=dat, type="Cox", t_0=578)
ests_np <- est_ce(dat=dat, type="NP", t_0=578)
ests_table <- as_table(ests_cox, ests_np)
head(ests_table)
# }