R statistics program, is there a and statement

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 9K views
MaxManus
Messages
268
Reaction score
1
R statistics program, is there a "and" statement

I am trying to use R and need to use "and" as in if x is larger than y and smaller than z. I have tried to google and the manual, but I can't find it.
 
Physics news on Phys.org


This shows a table of R operators including &&

http://xweb.geos.ed.ac.uk/~hcp/r_notes/node2.html

Is that what you need?

I found that with the first Google search for
"R programming" boolean
 
Last edited by a moderator:


Yes, that is what I want.
"boolean" is probably a better search word than "and"