KM: plots a survival function with a Kaplan Meier variant

Description Usage Arguments Value Author(s) Examples

Description

plots the survival function of patients knowing censored data. Model : a variant of Kaplan-Meier's model

Usage

1
KM(fileName, toplot = TRUE, header = TRUE)

Arguments

fileName

the file with the data use

toplot

a logical variable to plot the result of this estimation

header

a logical for : has the input file an header

Value

No values returned, just plot the survival function and the theoretical distribution of our model with exponential stays and a constant side effect probability

Author(s)

Christophe Dutang and Julie Barthes

Examples

1
#KM("data.rda",TRUE,TRUE)

rhosp documentation built on May 1, 2019, 11:27 p.m.