[R] <= returns wrong result? Why

Stephan Kolassa Stephan.Kolassa at gmx.de
Wed Jan 13 09:25:41 CET 2010


Hi Trafim,

take a look at FAQ 7.31.

HTH
Stephan


Trafim Vanishek schrieb:
> Dear all,
> 
> Does anybody know the probable reason why <= gives false when it should give
> true?
> These two variables are of the same type, and everything works in the cycle
> but then it stops when they are equal.
> 
> this is the output result
>> Rk[47] <= RB[21]
> [1] FALSE
> 
>> Rk[47]
> [1] 0.002842007
> 
>> RB[21]
> [1] 0.002842007
> 
> Thanks a lot.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list