On Tue, 17 Nov 2009 00:26:13 -0800 (PST) Julia Cains <julia_ca...@yahoo.com> wrote: > how do use this "and" operator to combine two conditions. > > I am sorry as I know for many of you, this is very basic question > but I am new to R and trying to learn it as early as possible.
The 'and' operator is called '&' in R. Try ?'&' to display the help page. You might also be interested in ?ifelse and ?"if" -- Karl Ove Hufthammer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.