[R] small numbers

Robin Hankin rksh1 at cam.ac.uk
Thu Dec 4 14:59:29 CET 2008


use the logarithmic representation for your problem.

The Brobdingnag package uses such a form in a (more-or-less)
user-transparent manner.



Marc Jekel wrote:
> Dear R Fans,
> I have a simple probem but cannot find any reference to the soultion.
> I want to do calculations with small numbers (for max likelihood estimations). The lowest value R is storing by default is 1*10^-323, a smaller numer like 1*10^-324 is stored as a 0. How can I circumvent this problem? Is there a way to define how small a number can be in R.
> Thanks for a reply in advance,
> Marc

Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP

More information about the R-help mailing list