[R] read.spss function

2012-06-25 Thread niloo javan
Hi dear all, I am trying to import a dataset from SPSS into R (R x64 2.15.0). I used both   read.spss("D:/Untitled2.sav", use.value.labels = TRUE, to.data.frame = TRUE, max.value.labels = Inf, trim.factor.names = FALSE,trim_values = TRUE, reencode = NA, use.missings = to.data.frame) & read.spss("D

[R] survfit function

2012-06-27 Thread niloo javan
Hello In (survfit(Surv(Time,Status)~1)) I want to have status=0 as Failure and status=1 as Censore. Changing above formula to (survfit(Surv(Time,Status)~0)) doesnot help!! What should i do? Thank You. _ Best Regards Niloofar.Javanrouh MSc Of BioStatistics  [[alternat

[R] bias sampling

2012-03-16 Thread niloo javan
hi i want to analyze Right Censore-Length bias data under cox model with covariate. what is the package ? tank you. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do r

[R] Median In Survival

2012-02-22 Thread niloo javan
hi I have a problem with  Median in Survival. when I use S1=survfit(Surv(Time,Status)) the result shows the median but I cannot use it as numeric! S1$median in Null   Could u pleas help me. Many Many Tank You. Niloofar. [[alternative HTML version deleted]]