[R] add points to a 1-weibull graph
Ronaldo Reis Junior
chrysopa at gmail.com
Mon Jan 15 16:58:35 CET 2007
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 em gmail.com
| ICQ#: 5692561 | LinuxUser#: 205366
More information about the R-help
mailing list