Learn R Programming

rhosp (version 1.10)

KM: plots a survival function with a Kaplan Meier variant

Description

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

Usage

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

Examples

Run this code
# NOT RUN {
#KM("data.rda",TRUE,TRUE)
# }

Run the code above in your browser using DataLab