powered by
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)
various functions in column
observed times
non-censoring indicators
group indicators with z=1 treatment and z=0 control
z
(ascendingly) ordered unique event times from both groups
tolerence when comparing event times
Xiaodong Luo
More details
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
Run the code above in your browser using DataLab