Re: [Rd] Constructing logical expressions dynamically

2008-07-02 Thread Duncan Murdoch
On 02/07/2008 7:27 PM, Tom Murray wrote: Hello, I am trying to construct a logical expression dynamically, for use in the subset() function. I am puzzled by problems with the code that follows below. Probably there's an easier way to select rows of a data frame according to some dynamic criteri

[Rd] Constructing logical expressions dynamically

2008-07-02 Thread Tom Murray
Hello, I am trying to construct a logical expression dynamically, for use in the subset() function. I am puzzled by problems with the code that follows below. Probably there's an easier way to select rows of a data frame according to some dynamic criteria--and I'd love to hear about it--but I'd a