Re: [R] small negative values instead of zeros in nested loop

2012-09-26 Thread Daniel Nordlund
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Cristina Fdez. Aragón Sent: Tuesday, September 25, 2012 4:40 PM To: r-help@r-project.org Subject: [R] small negative values instead of zeros in nested loop Hi,I am

[R] small negative values instead of zeros in nested loop

2012-09-25 Thread Cristina Fdez . Aragón
Hi,I am trying to run a code with a series of nested for loops, here is a simplified version of it: J-seq(0,1,0.2) D-seq(0,1,0.2) for (x in 1:10) { for (j in

Re: [R] small negative values instead of zeros in nested loop

2012-09-25 Thread Jim Holtman
FAQ 7.31 then look at 'all.equal' Sent from my iPad On Sep 25, 2012, at 19:39, Cristina Fdez. Aragón cf_ara...@hotmail.com wrote: Hi,I am trying to run a code with a series of nested for loops, here is a simplified version of it: J-seq(0,1,0.2)D-seq(0,1,0.2)