SurvFunc.KM: Estimated survival function based on Kaplan-Meier estimator

View source: R/SemiParametricCopulawithoutCovariates.R

SurvFunc.KMR 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.


depCensoring documentation built on April 4, 2025, 1:52 a.m.