Dear R helpers Suppose I want to use two conditions
if (x >= 42) and (x<48) z = 45 else if (x>= 48) and (x<60) z = 14 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. Extremely sorry for this stupid question. Please guide Julia ************************************************ Only a man of Worth sees Worth in other men ************************************************ [[alternative HTML version deleted]] ______________________________________________ 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.