[Rd] is.integer and rank

Torsten Hothorn Torsten.Hothorn@rzmail.uni-erlangen.de
Mon, 23 Oct 2000 12:01:15 +0200 (CEST)


Hello, 

why does

> test <- rank(sample(10))
> test
 [1]  4  8  9 10  2  1  7  6  3  5
> is.integer(test)
[1] FALSE
> is.double(test)
[1] TRUE

make sense in R-1.1.1?  

Torsten

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._