wlrutil | R Documentation |
A utility function to calculate some common functions in contructing weights
wlrutil(y=c(1,2,3),d=c(1,0,1),z=c(1,0,0),te=c(1,3),eps=1.0e-08)
y |
observed times |
d |
non-censoring indicators |
z |
group indicators with |
te |
(ascendingly) ordered unique event times from both groups |
eps |
tolerence when comparing event times |
More details
mfunc |
various functions in column |
Xiaodong Luo
ww<-wlrutil(y=c(1,2,3),d=c(1,0,1),z=c(1,0,0),te=c(1,3),eps=1.0e-08)
ww
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.