Re: [R] conditional with and operators

2008-08-19 Thread Altaweel, Mark R.
Steve McKinney -Original Message- From: [EMAIL PROTECTED] on behalf of Altaweel, Mark R. Sent: Tue 8/19/2008 1:10 PM To: r-help@r-project.org Subject: [R] conditional with and operators Hi, I have a problem in which I am parsing data from a list. I am simply trying to return data t

Re: [R] conditional with and operators

2008-08-19 Thread Christos Hatzis
; Sent: Tuesday, August 19, 2008 4:10 PM > To: r-help@r-project.org > Subject: [R] conditional with and operators > > Hi, > > I have a problem in which I am parsing data from a list. I > am simply trying to return data that has several conditions > being true. Here is

Re: [R] conditional with and operators

2008-08-19 Thread Steven McKinney
nney -Original Message- From: [EMAIL PROTECTED] on behalf of Altaweel, Mark R. Sent: Tue 8/19/2008 1:10 PM To: r-help@r-project.org Subject: [R] conditional with and operators Hi, I have a problem in which I am parsing data from a list. I am simply trying to return data that has several condit

[R] conditional with and operators

2008-08-19 Thread Altaweel, Mark R.
Hi, I have a problem in which I am parsing data from a list. I am simply trying to return data that has several conditions being true. Here is my syntax below: d<-sapply(res,function(.df){(.df$TimesVisited[.df$Tick>912 && .df$Id>0])}) #res is the list, and I am trying to return a result tha