how to keep very small or large number?
Your question is too vague for me. Can you please provide a very simple example in a few lines of code? For example, do you first compute probabilities and then take logarithms, or do you try to compute logarithms directly? Where exactly do you see the problem? (The posting guide www.R-project.org/posting-guide.html might help.) spencer graves
Cunningham Kerry wrote:
When I was computing some joint probabilities, I found that R reported most of the results to to -Inf and thus didn't record the value. I guess it is b/c the joint log(probability) can be extremely small. Is there a way in R to keep the values even if they are small?
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408-280-7915