[R] Strange Bug in R
Neverstop
neverstop at hotmail.it
Tue Oct 6 09:24:59 CEST 2015
Hi all.
I don't understand why R works this way:
> rm(list=ls())
> require(foreign)
> dataset <- read.dta("http://www.ats.ucla.edu/stat/data/ologit.dta")
> min(dataset$gpa)
[1] 1.9
> min(dataset$gpa)>=1.90
[1] FALSE
> min(dataset$gpa)>=1.9
[1] FALSE
> min(dataset$gpa)>1.89
[1] TRUE
Shouldn't I get 3 TRUEs?
Am I missing something?
Thank you.
--
View this message in context: http://r.789695.n4.nabble.com/Strange-Bug-in-R-tp4713175.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list