Displaying 1 result from an estimated 1 matches for "tf4859847".
Did you mean:
tf4359846
2007 Nov 23
1
R 2.6 and library(survival)
Hi all,
I have installed in R 2.6 the survival package and I am trying to analyze some
data and present plots. The problem occurs when I try to plot lines on
the same plot. E.g. take simulated data for time (t), event (e) and groups
(group1 and group2) and do:
### this is how I create the plots
plot1<-survfit(Surv(t,e)~ as.factor(group1))
plot2<-survfit(Surv(t,e)~ as.factor(group2))