s-news
[Top] [All Lists]

plot.survfit

To: s-news@lists.biostat.wustl.edu
Subject: plot.survfit
From: susan@stats.ucl.ac.uk
Date: Tue, 24 Feb 2004 12:29:08 -0000 (GMT)
Importance: Normal
User-agent: SquirrelMail/1.4.2
Dear Colleagues

I have used the following command to plot cumulative hazard. If I change
yscale to 100 to get % the lines are plotted but the labels don't change.
It also appears to squash the graph in the xaxis - so that yscale =100
plots the whole graph on what looks like x = 0-1.
Have I missed soemthing here? Using version 6.2 for windows.

Many thanks

plot(kmest,conf.int=F,bty="n",ylim=c(0,maxhaz),xlim=c(0,4.5),firsty=0,xscale=365.25,fun="cumhaz",yscale=100,lty=c(1,2),lwd=3,mark.time=F,
      xlab="Years",ylab="Cumulative Hazard")


<Prev in Thread] Current Thread [Next in Thread>