[R] command in survival package

From: Linda Lei <llei_at_bccrc.ca>
Date: Sat 21 Jan 2006 - 09:28:31 EST

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:  


and also when I try  

> aml1<-aml[aml$group==1,]

> aml1

I got  

[1] time status x

<0 rows> (or 0-length row.names)    

Could you please help me with these questions? I'm stuck here. Thank you very much!  



        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jan 21 09:35:05 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:08 EST