Re: [R] wrong with using subset

2010-01-13 Thread Duncan Murdoch
On 13/01/2010 10:45 AM, Don MacQueen wrote: I would suggest that first you look at the results of (as.numeric(as.character(dfpr2_r$pr2))) > 0.2 && (dfpr2_r$landa > 10) by itself. Does it give all FALSE ? I'd guess the problem is using && instead of &. Duncan Murdoch Then look at eac

Re: [R] wrong with using subset

2010-01-13 Thread Don MacQueen
I would suggest that first you look at the results of (as.numeric(as.character(dfpr2_r$pr2))) > 0.2 && (dfpr2_r$landa > 10) by itself. Does it give all FALSE ? Then look at each of the parts separately. What are the results of (as.numeric(as.character(dfpr2_r$pr2))) > 0.2 and dfpr2_r$l

[R] wrong with using subset

2010-01-13 Thread Ahmet Temiz
hello is it wrong with this expression: subset(dfpr2_r,(as.numeric(as.character(dfpr2_r$pr2))) > 0.2 && (dfpr2_r$landa > 10)) it gives nothing regards -- Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous content by MailScanner, and is