TvInd2: Generate time-depependent covariate indicators

View source: R/RcppExports.R

TvInd2R 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).


942kid/plac documentation built on July 20, 2023, 2:43 a.m.