[R] strange boolean results
Sarah Goslee
sarah.goslee at gmail.com
Thu Jun 13 18:02:25 CEST 2013
R FAQ 7.31.
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
On Thu, Jun 13, 2013 at 11:47 AM, Filippo Monari <ingfimo at gmail.com> wrote:
> 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
>
--
Sarah Goslee
http://www.functionaldiversity.org
More information about the R-help
mailing list