Frequently Asked Questions 7.31 Why doesn't R think these numbers are equal? http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think -these-numbers-are-equal_003f
For more details read the First Circle of the R Inferno: http://www.burns-stat.com/pages/Tutor/R_inferno.pdf ------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77840-4352 -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Filippo Monari Sent: Thursday, June 13, 2013 10:48 AM To: r-help@r-project.org Subject: [R] strange boolean results Hi, anyone can explain to me the following? > rho [1] 0.9452398 0.8792735 0.9641829 0.9876954 0.9993560 0.9826084 1.0000000 [8] 1.0000000 0.7982916 1.0000000 0.3361956 > any(rho >= 1) [1] FALSE thanks, regards Filippo ______________________________________________ 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. ______________________________________________ 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.