[R] add points to a 1-weibull graph

From: Ronaldo Reis Junior <chrysopa_at_gmail.com>
Date: Mon 15 Jan 2007 - 15:58:35 GMT


Hi,

I made a survival analysis using survreg function. Its OK. But, I need to show in the graph 1-weibull curves.

Ploting weibull curve a add the estimated points following these steps:

fit <- survfit(Surv(Time,Censor)~Group)

points(fit[1])
points(fit[2])
points(fit[3])

I have 3 groups.

But I dont know how to plot the correct points on a inverse weilbull graph. I try to use points(1-fit[1]) but dont work. I try others way to make this, but all dont make sense.

Anybody can help me?

Thanks
Ronaldo

--

> Prof. Ronaldo Reis Júnior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8190 | chrysopa@gmail.com | ICQ#: 5692561 | LinuxUser#: 205366 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Received on Tue Jan 16 03:04:40 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 15 Jan 2007 - 16:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.