From bolker@zoo.ufl.edu  Fri Mar 24 19:53:42 2000
From: bolker@zoo.ufl.edu (Ben Bolker)
Date: Fri, 24 Mar 2000 14:53:42 -0500 (EST)
Subject: [Rd] Some "new" stuff for hist.R
In-Reply-To: <Pine.OSF.4.05.10003231657240.7710-200000@alnair.uio.no>
Message-ID: <Pine.LNX.4.10.10003241450500.824-100000@bolker.zoo.ufl.edu>

On Thu, 23 Mar 2000, Kjetil Kjernsmo wrote:

> Dear all,
> 
> I've been hacking on histograms the past couple of days. I wanted to do
> two things, add histograms where the breaks of one histogram is a
> subset sequence of the other, and get a histogram plot from a histogram
> object.

> Then, I made hist.histogram, that plots an existing "histogram" object.
> This is also just your code, I just did cut'n'paste on the parts that
> seemed relevant. One might argue that the default method should be split
> in two, since these two parts are almost identical. 

  Might it be more logical to make hist.histogram be plot.histogram
instead?  

  This is a nice idea; I had thought in the past that it would be nice to
make "histogram" into a class with print and plot methods (in particular,
it's sometimes nice to be able to overlay different histograms on each
other), but never got around to doing it.

  Ben

-- 
Ben Bolker                                  bolker@zoo.ufl.edu
Zoology Department, University of Florida   http://www.zoo.ufl.edu/bolker
318 Carr Hall/Box 118525                    tel: (352) 392-5697
Gainesville, FL 32611-8525                  fax: (352) 392-3704

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Some "new" stuff for hist.R
Ben Bolker