Learn R Programming

plac (version 0.1.3)

SgInd: Generate risk-set indicators

Description

Generate risk-set indicators

Usage

SgInd(X, W)

Value

risk-set indicators Y_i(w_k) of the form I(A_i <= w_k <= X_i).

Arguments

X

the response matrix (As, Xs, Ds).

W

the ordered observed event times.