[R] Trying to run simple survival program in R but does not work

2008-08-07 Thread Trev101
Hey, I am just starting to learn R now and I typed in this simple survival program: library(survival) t - c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107) c - c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0) data - Surv(t,c) km - survfit(data) summary(km) Call:

Re: [R] Trying to run simple survival program in R but does not work

2008-08-07 Thread Trev101
Very Strange have no idea why this is happening :-( I am running a AMD Athlon 64 3500+ with 1 GB RAM and Running microsoft Windows XP service pack 2. I only installed the main program of R being R-2.7.1-win32 and then I installed tinn-R. I then opened R and tinn-R and then from the RGui I went

Re: [R] Trying to run simple survival program in R but does not work

2008-08-07 Thread Trev101
Oh wait it gives me another error saying that: Loading required package: splines I cant find the package called splines in the list is that an important package? -- View this message in context: