KM {rhosp}R Documentation

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

a plot of the survival function
a plot of the theoretical distribution of our model with exponential stays and a constant side effect probability

Author(s)

CJ

Examples

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

[Package rhosp version 1.01 Index]