Cumulative hazard (integral of hazard) only
CumulHazard(X_GL, weights, tm, n_legendre, n, beta, is_pwcst, pwcst_weights)
cumulative hazard (integral of hazard)
list of matrices (length(X.GL)=n.legendre
) for Gauss-Legendre quadrature
vector of weights for Gauss-Legendre integration on [-1;1]
vector of midpoints times for Gauss-Legendre integration; tm = 0.5*(t1 - t0)
number of nodes for Gauss-Legendre quadrature
number of individuals in the dataset
vector of estimated regression parameters
True if there is a piecewise constant baseline specified. False otherwise
if is_pwcst is TRUE, matrix of weights giving the time contribution of each individual on each sub-interval. Otherwise NULL