Re: [R] Problem with R 2.9.0 vs. R2.8.1 with either survival package or predict function

2009-04-28 Thread Dimitri Liakhovitski
OK, here we go. I am trying to attach a data file test.data.txt) Below is the script: sample.data-read.delim(file=test.data.txt) (dim(sample.data)) (names(sample.data)) names(sample.data)-c(time,ID,Choice,V1,V2,Set,id) sample.data$V1-as.factor(sample.data$V1)

[R] Problem with R 2.9.0 vs. R2.8.1 with either survival package or predict function

2009-04-27 Thread Dimitri Liakhovitski
Just wanted to alert everyone regarding a problem that I only experience with R2.9.0 and not with R2.8.1 when I run both using exactly the same script and the same data. Here is what I do with my data MyData, 2 predictors (V1 and V2) and my survival DV Depvar: library(survival)