[R] If Statement Help

Jason Kwok
Sun, 24 Oct 2010 01:56:18 -0000

Price
2010-10-11     99
2010-10-12    101
2010-10-13    102
2010-10-14    103
2010-10-15     99
2010-10-18     98
2010-10-19     97
2010-10-20    101
2010-10-21    101
2010-10-22    101

I have this dataset and I only want to return instances when the Price is >
100.

If I use the code: Price > 100 then it will evaluate each entry as
"TRUE" or
"FALSE".  What is the code to only return "TRUE" results?

Thanks,

Jay

	[[alternative HTML version deleted]]