From ripley at stats.ox.ac.uk  Sat May 15 23:01:26 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat May 15 23:16:29 2004
Subject: [Rd] names on cum* functions
In-Reply-To: <40A608CB.7050808@pburns.seanet.com>
Message-ID: <Pine.LNX.4.44.0405152159230.24143-100000@gannet.stats>

On Sat, 15 May 2004, Patrick Burns wrote:

> Is it accidental or on purpose that names get stripped from the
> result of "cumsum", "cumprod", "cummin" and "cummax"?

Almost certainly accidental.

> If it is accidental, I suggest that keeping names (and other attributes)
> would be appropriate.  (Found porting code from S-PLUS.)

Names, sure.  I am not so sure about all other attributes, in particular 
class (suppose these were difftimes?).

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] names on cum* functions
Prof Brian Ripley