G_surv_naive: Survival Function of Residual Censoring Variable

Description Usage Arguments Value

View source: R/G_surv.R

Description

Evaluate the survival function of residual censoring variable at a user-specified upper bound.

Usage

1
G_surv_naive(time, cens, time_Y, weight)

Arguments

time

The follow up time for right censored data.

cens

The censoring status, 0 for censoring, 1 for failure.

time_Y

The upper bound of the integral.

weight

The weight for each observation.

Value

This function returns the function value of the residual censoring variable at a user-specified upper bound.


ZexiCAI/TVQRLB documentation built on Dec. 30, 2019, 6:02 p.m.