Re: [Rd] plogis (and other p* functions), vectorized lower.tail

2021-12-09 Thread Matthias Gondan
ndet: Donnerstag, 9. Dezember 2021 16:03 An: Matthias Gondan Cc: r-devel@r-project.org Betreff: Re: [Rd] plogis (and other p* functions), vectorized lower.tail >>>>> Matthias Gondan >>>>> on Wed, 8 Dec 2021 19:37:09 +0100 writes: > Dear R developers, >

Re: [Rd] plogis (and other p* functions), vectorized lower.tail

2021-12-09 Thread Martin Maechler
> Sokol Serguei on Thu, 9 Dec 2021 17:13:36 +0100 writes: > On 09/12/2021 16:55, Ben Bolker wrote: >> >> >> On 12/9/21 10:03 AM, Martin Maechler wrote: Matthias Gondan on Wed, 8 Dec 2021 19:37:09 +0100 writes: >>> >>> > Dear R deve

Re: [Rd] plogis (and other p* functions), vectorized lower.tail

2021-12-09 Thread Sokol Serguei
On 09/12/2021 16:55, Ben Bolker wrote: On 12/9/21 10:03 AM, Martin Maechler wrote: Matthias Gondan on Wed, 8 Dec 2021 19:37:09 +0100 writes: > Dear R developers, > I have seen that plogis silently ignores vector elements of lower.tail, and also of 'log'. This is indeed the

Re: [Rd] plogis (and other p* functions), vectorized lower.tail

2021-12-09 Thread Ben Bolker
On 12/9/21 10:03 AM, Martin Maechler wrote: Matthias Gondan on Wed, 8 Dec 2021 19:37:09 +0100 writes: > Dear R developers, > I have seen that plogis silently ignores vector elements of lower.tail, and also of 'log'. This is indeed the case for all d*, p*, q* functions. Yes,

Re: [Rd] plogis (and other p* functions), vectorized lower.tail

2021-12-09 Thread Martin Maechler
> Matthias Gondan > on Wed, 8 Dec 2021 19:37:09 +0100 writes: > Dear R developers, > I have seen that plogis silently ignores vector elements of lower.tail, and also of 'log'. This is indeed the case for all d*, p*, q* functions. Yes, this has been on purpose and therefore d

[Rd] plogis (and other p* functions), vectorized lower.tail

2021-12-08 Thread Matthias Gondan
Dear R developers, I have seen that plogis silently ignores vector elements of lower.tail, > plogis(q=0.5, location=1, lower.tail=TRUE) [1] 0.3775407 > plogis(q=0.5, location=1, lower.tail=FALSE) [1] 0.6224593 > plogis(q=c(0.5, 0.5), location=1, lower.tail=c(TRUE, FALSE)) [1] 0.3775407 0.37754