Skip to content
Back to formatted view

Raw Message

Message-ID: <1323560362984-4181476.post@n4.nabble.com>
Date: 2011-12-10T23:39:22Z
From: capitantyler
Subject: Kaplan-Meier survfit problem
In-Reply-To: <4BCC1008.7010405@erasmusmc.nl>

done it, again, i have the next problem

my traduction:
"The object (list) cannot be corced as "double"

Original:
*km1 <- survfit(Surv(as.numeric(T.201110))~1)*
Error en Surv(as.numeric(T.201110)) : 
  el objeto (list) no puede ser coercionado a 'double'

note that need it convert to numeric class, otherwise:

*km1 <- survfit(Surv((T.201110))~1)*
Error en Surv((T.201110)) : Time variable is not numeric

--
View this message in context: http://r.789695.n4.nabble.com/Kaplan-Meier-survfit-problem-tp2015369p4181476.html
Sent from the R help mailing list archive at Nabble.com.