Displaying 1 result from an estimated 1 matches for "range_sd".
Did you mean:
range_sp
2009 Dec 31
1
what don't I get about numeric/double comparisons in R way?
Hi,
I'm pretty much an R noob and I'm missing some paradigm in R I think.
I can't figure our how to compare numerics. here's a transcript of my
tests. Any pointers?
> print(range_sd)
[1] 34.40783
> is.numeric(range_sd)
[1] TRUE
> is.numeric(foo)
[1] TRUE
> is.double(range_sd)
[1] TRUE
> is.double(foo)
[1] TRUE
>
> identical(range_sd, foo)
[1] FALSE
> identical(range_sd, 34.40783)
[1] FALSE
> identical(range_sd, 34.40783, num.eq=FALSE)
[1] FA...