Re: [R] Help on conditional selection of data.frame data...

2013-02-04 Thread Ista Zahn
Hi, Look at the help page for ?Logic, and in particular the section that describes "&" and "|". Best, Ista On Mon, Feb 4, 2013 at 9:01 AM, skpark wrote: > Hello, > > > I have trouble with using data.frame data. > > 1. I loaded data using the following: > ff <- read.table("E:/R/VM/matrix.txt", h

[R] Help on conditional selection of data.frame data...

2013-02-04 Thread skpark
Hello, I have trouble with using data.frame data. 1. I loaded data using the following: ff <- read.table("E:/R/VM/matrix.txt", header=T) The data I used is attached. I want to use at least 2 conditions for selecting of data. But I failed. It works. -> fff <- ff[ff$HG == "GUEST",] fff