Re: [Rd] chron vs. POSIX

2006-07-15 Thread Gabor Grothendieck
On 7/14/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/14/2006 3:38 PM, Sebastian Luque wrote: > > Hi, > > > > One of the big decisions when writing code is how to handle dates and > > times. Gabor Grothendieck provided an excellent overview of the issue in > > his R News 4/1 (2004) article,

Re: [Rd] chron vs. POSIX

2006-07-15 Thread Duncan Murdoch
On 7/15/2006 1:01 PM, Gabor Grothendieck wrote: > On 7/14/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 7/14/2006 3:38 PM, Sebastian Luque wrote: >>> Hi, >>> >>> One of the big decisions when writing code is how to handle dates and >>> times. Gabor Grothendieck provided an excellent overview

Re: [Rd] chron vs. POSIX

2006-07-15 Thread Gabor Grothendieck
On 7/15/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/15/2006 1:01 PM, Gabor Grothendieck wrote: > > On 7/14/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 7/14/2006 3:38 PM, Sebastian Luque wrote: > >>> Hi, > >>> > >>> One of the big decisions when writing code is how to handle dates

Re: [Rd] chron vs. POSIX

2006-07-15 Thread Duncan Murdoch
On 7/15/2006 1:37 PM, Gabor Grothendieck wrote: > On 7/15/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 7/15/2006 1:01 PM, Gabor Grothendieck wrote: >>> On 7/14/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: On 7/14/2006 3:38 PM, Sebastian Luque wrote: > Hi, > > One of the big

Re: [Rd] dweibull retuns NaN instead of Inf (PR#9080)

2006-07-15 Thread ripley
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --27464147-852712393-1152995865=:29235 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-ID: <[EMAIL PROTECTED]>

Re: [Rd] chron vs. POSIX

2006-07-15 Thread Gabor Grothendieck
On 7/15/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/15/2006 1:37 PM, Gabor Grothendieck wrote: > > On 7/15/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 7/15/2006 1:01 PM, Gabor Grothendieck wrote: > >>> On 7/14/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/14/2006 3:38

[Rd] Matrices given to pt? [was: [R] for loops and counters]

2006-07-15 Thread François Pinard
Hi, people. I was a bit intrigued by the message quoted below. Indeed, if pt() is given a matrix, it returns a matrix. Should this feature be documented? ?pt speaks about "a vector of quantiles", and says nothing about the type of what it returns. The same might presumably apply to other dist

Re: [Rd] Matrices given to pt? [was: [R] for loops and counters]

2006-07-15 Thread Gabor Grothendieck
I think what is happening is that it is preserving attributes of the input. e.g. > x <- 1:3 > attr(x, "A") <- 23 > pt(x, 3) [1] 0.8044989 0.9303370 0.9711656 attr(,"A") [1] 23 Note that attribute A was preserved. Since matrices are just vectors with a dim attribute that would imply the result.