Re: [R] Help with which()

2008-07-24 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | Hi guys, | | Thank you all for looking at this, and I'm sorry - I was making a silly | mistake. | I was using a previous version of the data table in R, while looking at | a new | file in excel (its easier for me to view the

Re: [R] Help with which()

2008-07-24 Thread Erik Iverson
Ben Bolker wrote: Erik Iverson biostat.wisc.edu> writes: See http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f naw3 duke.edu wrote: I'm using which to find the position of a value in my data table [snip] For example, when I do: where

Re: [R] Help with which()

2008-07-24 Thread Ted Harding
On 24-Jul-08 15:35:45, Erik Iverson wrote: > See > > http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-the > se-numbers-are-equal_003f That's not an applicable response: The difference between 3573.1 and 3573.15 is far too large for them to be confused by "==". Thr confusion on

Re: [R] Help with which()

2008-07-24 Thread Ben Bolker
Erik Iverson biostat.wisc.edu> writes: > > See > > http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f > > naw3 duke.edu wrote: > > I'm using which to find the position of a value in my data table [snip] > For example, when I do: > > > > where1<

Re: [R] Help with which()

2008-07-24 Thread Erik Iverson
See http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f [EMAIL PROTECTED] wrote: Hi, I'm using which to find the position of a value in my data table, and it is returning the correct position and the position of another number that differs by an ex

[R] Help with which()

2008-07-24 Thread naw3
Hi, I'm using which to find the position of a value in my data table, and it is returning the correct position and the position of another number that differs by an extra decimal place. For example, when I do: where1<-which(Operons==3573.1,arr.ind=TRUE) it returns the position of that number and