Re: [R] log of small values in R

2021-01-13 Thread Martin Møller Skarbiniks Pedersen
On Mon, 11 Jan 2021 at 08:22, Shaami wrote: > > Dear FriendsI am facing the problem of log values in R. The > log(1-0.9) is giving -Inf while log(1e-18) gives finite > answer. Any suggestion to deal with this problem? Thank you This vignette has a lot of good information

Re: [R] log of small values in R

2021-01-11 Thread David Winsemius
> On Jan 10, 2021, at 11:38 PM, Jeff Newmiller wrote: > > ?log1p > > On January 10, 2021 12:53:14 AM PST, Shaami wrote: >> Dear FriendsI am facing the problem of log values in R. The >> log(1-0.9) is giving -Inf while log(1e-18) gives finite >> answer. Any suggestion

Re: [R] log of small values in R

2021-01-10 Thread Jeff Newmiller
?log1p On January 10, 2021 12:53:14 AM PST, Shaami wrote: >Dear FriendsI am facing the problem of log values in R. The >log(1-0.9) is giving -Inf while log(1e-18) gives finite >answer. Any suggestion to deal with this problem? Thank you > > [[alternative HTML versio

[R] log of small values in R

2021-01-10 Thread Shaami
Dear FriendsI am facing the problem of log values in R. The log(1-0.9) is giving -Inf while log(1e-18) gives finite answer. Any suggestion to deal with this problem? Thank you [[alternative HTML version deleted]] __ R-he