; R-help@stat.math.ethz.ch
Subject: Re: [R] command in survival package
On Fri, 2006-01-20 at 15:27 -0800, Thomas Lumley wrote:
On Fri, 20 Jan 2006, Linda Lei wrote:
Hi there,
I have a question about one command sentence when I follow the
example
in the book of Survival analysis in S
On Mon, 23 Jan 2006, Linda Lei wrote:
Thank you guys.
But I tried the commands and I still get:
aml1-aml[aml$group==1,]
aml1
[1] time status x
0 rows (or 0-length row.names)
esf.fit - survfit(Surv(aml1$weeks,status) ~ 1)
Error in Surv(aml1$weeks, status) : Time variable is not numeric
On Mon, 2006-01-23 at 10:52 -0800, Thomas Lumley wrote:
On Mon, 23 Jan 2006, Linda Lei wrote:
Thank you guys.
But I tried the commands and I still get:
aml1-aml[aml$group==1,]
aml1
[1] time status x
0 rows (or 0-length row.names)
esf.fit - survfit(Surv(aml1$weeks,status) ~ 1)
On Mon, 2006-01-23 at 10:52 -0800, Thomas Lumley wrote:
On Mon, 23 Jan 2006, Linda Lei wrote:
Thank you guys.
But I tried the commands and I still get:
aml1-aml[aml$group==1,]
aml1
[1] time status x
0 rows (or 0-length row.names)
esf.fit -
Hi there,
I have a question about one command sentence when I follow the example
in the book of Survival analysis in S:
aml1-aml[aml$group==1]
but I got the error warning: NULL data frame with 23 rows
Thus, I couldn't keep going on the next command:
On Fri, 20 Jan 2006, Linda Lei wrote:
Hi there,
I have a question about one command sentence when I follow the example
in the book of Survival analysis in S:
aml1-aml[aml$group==1]
If this is really what the book says you should probably complain to the
author. However, if it says
On Fri, 2006-01-20 at 15:27 -0800, Thomas Lumley wrote:
On Fri, 20 Jan 2006, Linda Lei wrote:
Hi there,
I have a question about one command sentence when I follow the example
in the book of Survival analysis in S:
aml1-aml[aml$group==1]
If this is really what the book says