Description Usage Arguments Value Author(s) Examples
Data structured for matchpropexc
1 |
formula |
formula with 'Surv' outcome (see |
data |
data frame |
clust |
vector exposed indicator; it identifies the "cluster" (one exposed in each clust i) |
idControl |
vector control indicator (idControl==1 indicates exposed individual in clust i) |
... |
Additional arguments to lower level funtions |
A setup dataset, ready for matchpropexc
Cristina Boschini
1 2 3 | dhaz<-sim.data.MatchH(nca=5000, ncont=5)
setdhaz<-compdata(Surv(time, status)~z+cc, clust=id, idControl=j, data=dhaz)
head(setdhaz, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.