[R] what happen?

2006-04-18 Thread zhang jian
Hi! I want to choose part of the data. But it has a question. attach(PIKO) PIKO[1:5,] code species dbh x y tag status branch 92 10142PIKO 38.9 6.05 12.81 10165 alive 0 109 10213PIKO 41.0 6.71 26.21 10202 alive 0 135 10222PIKO 48.3 18.98 21.28 10214

Re: [R] what happen?

2006-04-18 Thread Dimitris Rizopoulos
://www.med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: zhang jian [EMAIL PROTECTED] To: r-help r-help@stat.math.ethz.ch Sent: Tuesday, April 18, 2006 4:45 PM Subject: [R] what happen? Hi! I want to choose part of the data. But it has

Re: [R] what happen?

2006-04-18 Thread Manuel López-Ibáñez
zhang jian wrote: * n=PIKO[status=snag,] Error in [.data.frame(PIKO, status = snag, ) : unused argument(s) (status ...) = is the assignment operator, you should use == as in: n=PIKO[status==snag,] __ LLama Gratis a