[R] evaluate a set of symbols within an IF statement

cls59 chuck at sharpsteen.net
Sat Sep 26 02:06:35 CEST 2009



zubin-2 wrote:
> 
> 
> how do i evaluate this whole list to a single boolean True or False?  If 
> any of these are true the whole statement is True, else False.   this 
> only seems to work for the first ticker, the rest don't perform the 
> operations within the loop.
> 
> 

Try %in%

tname %in% checkticker

-Charlie

-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University
-- 
View this message in context: http://www.nabble.com/evaluate-a-set-of-symbols-within-an-IF-statement-tp25620871p25620900.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list