j.c.rougier@durham.ac.uk
2003-Mar-27 16:16 UTC
[Rd] Deprecated component in plot.histogram (PR#2696)
Hi everyone,
As "intensities" is deprecated as a synonym for "density" in
the
output of hist it would be a good idea to replace its occurence with
"density" in plot.histogram, where we currently have
y <- if (freq)
x$counts
else x$intensities
Note that, to add to the confusion, x$density is also referred to in
plot.histogram.
Cheers, Jonathan.
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 1
minor = 6.1
year = 2002
month = 11
day = 01
language = R
Search Path:
.GlobalEnv, Autoloads, package:base
Martin Maechler
2003-Mar-29 17:16 UTC
[Rd] Deprecated component in plot.histogram (PR#2696)
Thank you, Jonathan>>>>> "JonR" == j c rougier <j.c.rougier@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@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 <><