[R] Problems with the sort function!?

2004-11-05 Thread Kay Pilz
Hello All. I am running R 2.0.0 with a Win XP operating system. The same problem occured with R 1.9.1 but not with R.1.3.1 on a Win NT computer. My request is about the following problem with the sort function: The vector price is a vector of 789 asset prices of the following form,

Re: [R] Problems with the sort function!?

2004-11-05 Thread Adaikalavan Ramasamy
x - 1.0001 all.equal(x, 1) [1] TRUE x == 1 [1] FALSE Reading help(all.equal) will tell you that the tolerance level by default is around 1.490116e-08. On Fri, 2004-11-05 at 13:48, Kay Pilz wrote: Hello All. I am running R 2.0.0 with a Win XP operating system. The same problem occured

Re: [R] Problems with the sort function!?

2004-11-05 Thread Peter Dalgaard
Kay Pilz [EMAIL PROTECTED] writes: Hello All. I am running R 2.0.0 with a Win XP operating system. The same problem occured with R 1.9.1 but not with R.1.3.1 on a Win NT computer. My request is about the following problem with the sort function: ... Taking the difference of the first two