That should give you back a subset of 'data' (with all its columns),
for those with " E" in 'column'.  Can you show an example of your data
and what the desired output would be.  The posting guide asks "provide
commented, minimal, self-contained, reproducible code" so we don't
have to speculate on what you want.

On Nov 26, 2007 5:04 PM, Katherine Jones <[EMAIL PROTECTED]> wrote:
> This sort of works. It does select the E data, but unfortunately it doesn't
> select the data from the other columns; I want to select data across about 5
> columns by the factor " E" in one of the columns. It should be easy, but for
> some reason it is not working. The spaces being added don't help.
>
> It seems to work on my non-merged data files, although the merged file
> contains all the data I need.
>
> Thanks for the subset command though. Hadn't thought of using that.
>
>
>
> On 26-Nov-07, at 4:46 PM, jim holtman wrote:
> ?subset
>
>
> subset(data, column == " E")
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to