ifelse and "&&" vs "&
Hi nusrat, The ifelse function returns the number of values that result from the logical expression in the first argument. If you use &&, you get one logical value. If you use & you get logical values for the number of conditionals that you specify. For example: 1:10 > 0 && 1:10 < 11:20 [1] TRUE 1:10 > 0 & 1:10 < 11:20 [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE And for your sake and our's, get a real computer. Jim
On Wed, May 13, 2015 at 2:41 AM, nusrat ullah <nusratthebest at hotmail.com> wrote:
Ip, g ftehgytreehjjjijiputv Sent from my iPadgypyrrytutytytfedewaqy?iijj
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.