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.
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
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
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]>
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
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
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
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,