[Rd] Deprecated component in plot.histogram (PR#2696)

Martin Maechler maechler at stat.math.ethz.ch
Sat Mar 29 17:16:50 MET 2003


Thank you, Jonathan

>>>>> "JonR" == j c rougier <j.c.rougier at durham.ac.uk>
>>>>>     on Thu, 27 Mar 2003 16:16:14 +0100 (MET) writes:

    JonR> Hi everyone, As "intensities" is deprecated as a
    JonR> synonym for "density" in the output of hist it would
    JonR> be a good idea to replace its occurence with "density"
    JonR> in plot.histogram, where we currently have

    JonR>     y <- if (freq) x$counts else x$intensities

    JonR> Note that, to add to the confusion, x$density is also
    JonR> referred to in plot.histogram.

This is now being changed  such that plot.histogram() will still
work with an `intensities' instead of `density' component - for
back compatibility for some time.

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><



More information about the R-devel mailing list