Skip to content
Back to formatted view

Raw Message

Message-ID: <E2B771C0-F812-46E7-9D1A-C71A8D24AE3C@dcn.davis.ca.us>
Date: 2021-01-11T07:38:17Z
From: Jeff Newmiller
Subject: log of small values in R
In-Reply-To: <CAGR+MS7n24pe05-XVPA2-of=43PzcS+NU5ANAqcbA-YRQ33ZUA@mail.gmail.com>

?log1p

On January 10, 2021 12:53:14 AM PST, Shaami <nzshaam at gmail.com> wrote:
>Dear Friends        I am facing the problem of log values in R. The
>log(1-0.99999999999999999) is giving -Inf while log(1e-18) gives finite
>answer. Any suggestion to deal with this problem?  Thank you
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.

-- 
Sent from my phone. Please excuse my brevity.