REsmsurv: Estimate the baseline survival function S_0(t)

Description Usage Arguments

View source: R/REsmsurv.R

Description

This function estimates the baseline survival function given the survival data, covariates and frailty predictions.

Usage

1
REsmsurv(Time, Status, X, beta, frailty, grp, w)

Arguments

Time

A vector of length n, containing the observed event/censoring times.

Status

A vector of length n, containing the event/censoring indicators (event:1 and censoring:0).

X

A nxk matrix of covariates..

beta

A vector of length k, containing the covariate effects.

frailty

A vector of length j, containing all j frailty predictions.

grp

A vector of length n, containing the grouping indicators (to identify the frailty term for each subject).

w

A vector of length n, containing the expected susceptibility indicator.


HansTierens/MMixCure documentation built on Dec. 31, 2020, 12:59 p.m.