On Wed, Sep 30, 2009 at 8:44 PM, Duncan Murdoch <murd...@stats.uwo.ca> wrote:
> Why? You asked for an increment of 1 in the second case (which is exactly > represented in R), then divided by 10, so you'll get the same as 0.3 gives > you. In the seq() case you asked for an increment of a number close to but > not equal to 1/10 (because 1/10 is not exactly representable in R), so you > got something different. Well, the problem is that I don't know how seq is implemented. I just assumed that it wouldn't behave like this. -- Michael Knudsen micknud...@gmail.com http://sites.google.com/site/micknudsen/ ______________________________________________ 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.