| summary.WA | R Documentation |
Summarize a WA object
## S3 method for class 'WA'
summary(object, ...)
object |
A |
... |
Unused. |
An object of class "summary.WA" containing configuration and a
coefficient table with estimates, standard errors, and z-scores.
ex_dt <- crt_dt[crt_dt$cluster %in% c(1,2,3,4,7,10), ]
fit <- WA_fit(survival::Surv(time, status) ~ trt + Z1 + Z2,
data = ex_dt, id="id", cluster="cluster",
knots=seq(0, max(ex_dt$time), length.out=6),
tau_grid=seq(0, max(ex_dt$time), length.out=6),
basis="bz", degree=1, link="log",
w_recur=c(1,1), w_term=2, ipcw="km")
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.