TvInd2 {plac}R Documentation

Generate time-depependent covariate indicators

Description

Generate time-depependent covariate indicators

Usage

TvInd2(eta, zeta, W)

Arguments

eta

a random variable of the Z_v(t) value before the change point.

zeta

the change point (jump time).

W

the ordered observed event times.

Value

the time-depependent covariate indicators of the form Z_v(t) = eta * I(w_k <= zeta).


[Package plac version 0.1.3 Index]