Displaying 1 result from an estimated 1 matches for "my_curve".
2008 Mar 02
1
Problem plotting curve on survival curve (something silly?)
...t;, xlab="Time (months)", ylab="Probability of Survival")
That produces this: http://www.wittongilbert.free-online.co.uk/RGraph.jpg
All of that is very nice so far. The I followed bits and pieces of
other peoples posts in the past to plot on a weibull regression...
> my_curve.Plac <- survreg( Surv(Survival, Censored==0)~
TreatmentGroup, subset=TreatmentGroup=="Placebo", data=TestData,
dist='weibull')
> curve(pweibull(x, scale=exp(coef(my_curve.Plac)),
shape=1/my_curve.Plac$scale, lower.tail=FALSE),from=0, col="black",
to=max(TestDa...