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.000
[8] 1.000 0.7982916 1.000 0.3361956
> any(rho >= 1)
[1] FALSE
thank
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 wrote:
> Hi,
> anyone can explain to me the following?
>
>> rho
> [1] 0.9452398 0.8792735 0.9641829 0.9876954 0.9993560 0.9826084 1.
Hi,
anyone can explain to me the following?
> rho
[1] 0.9452398 0.8792735 0.9641829 0.9876954 0.9993560 0.9826084 1.000
[8] 1.000 0.7982916 1.000 0.3361956
> any(rho >= 1)
[1] FALSE
thanks, regards
Filippo
__
R-help@r-project.org mailin
3 matches
Mail list logo