Good day.
I create a data frame like this:
              > data <- data.frame(a=1:10,b=11:20,c=21:30)
I can subset this data.frame by saying:
              > data[data$a>7,]
and I get this result
                          a  b  c                    8   8 18 28                    9   9 19 29                  10 10 20 30
I understand I should get the same result by saying
               > data[a>7,0]
but I don't. Instead I get:
                Error in `[.data.frame`(data, a > 7, 0) : object 'a' not found
Thank you very much in advance 		 	   		  
	[[alternative HTML version deleted]]

