SurvFunc.KM {depCensoring}R Documentation

Estimated survival function based on Kaplan-Meier estimator

Description

Estimated survival function based on Kaplan-Meier estimator

Usage

SurvFunc.KM(tm = NULL, yobs, delta, type = "right")

Arguments

tm

a vector contains all time points that the survival function will be calculated at.

yobs

a numeric vector that indicated the observed survival times.

delta

a numeric vector that stores the right-censoring indicators.

type

a character string that specifies the type of the step function. If type="right", it will be a right-continuous function.


[Package depCensoring version 0.1.5 Index]