as_table | R Documentation |
Format estimates returned by est_ce
as a table
as_table(..., which = "CR", labels = NA)
... |
One or more objects of class |
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 |
A table of CR or CVE values
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_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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.