On 2/8/2008 12:10 PM, Nakamura wrote: > Hello Ben, > > Ok this is going to sound very bizare, but the code now works. I struggled > for a long time to see why it was returning NaN values. I'm sure the code is > exactly the same. But anyway it now seems to be working (for the time > being). Thanks for the input though.
If you ever trigger the error again, try to figure out what happened. The hardest part of fixing bugs like this is making them reproducible. Duncan Murdoch ______________________________________________ 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.