I ran an instant experiment... > typeof(0) [1] "double" > typeof(-0) [1] "double" > identical(0, -0) [1] TRUE
Best, Giovanni > By the way: > > Are there difference between -0 and 0? ______________________________________________ R-help@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.