Full_Name: Jeremiah Cohen
Version: 2.9.0
OS: Windows XP
Submission from: (NULL) (129.59.230.235)
I believe there is a bug in the seq() function for certain values of the "from"
argument. Here are examples:
[1] -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1
So, for example,
which(seq(-.2, .1, .1) == 0)
[1] 3
which(seq(-.3, .1, .1) == 0)
integer(0)
Here are the results of the "version" command on my machine:
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 9.0
year 2009
month 04
day 17
svn rev 48333
language R
version.string R version 2.9.0 (2009-04-17)