wlrutil {PWEALL}R Documentation

A utility function to calculate some common functions in contructing weights

Description

A utility function to calculate some common functions in contructing weights

Usage

wlrutil(y=c(1,2,3),d=c(1,0,1),z=c(1,0,0),te=c(1,3),eps=1.0e-08)

Arguments

y

observed times

d

non-censoring indicators

z

group indicators with z=1 treatment and z=0 control

te

(ascendingly) ordered unique event times from both groups

eps

tolerence when comparing event times

Details

More details

Value

mfunc

various functions in column

Author(s)

Xiaodong Luo

Examples

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

[Package PWEALL version 1.3.0.1 Index]