On 25 Jan 2003 at 22:21, Fernando Henrique Ferraz Pereira da Rosa
wrote:
Hola!
Maybe this may be of help:
x - rnorm(100,2,2)
y - rnorm(200, 4,3)
hist(x)
hist(y, add=TRUE)
# which gives a confusing result. Better is:
hist(x, freq=FALSE)
hist(y, add=TRUE, freq=FALSE)
# But it is
Try the H. Bengtsson's function plot.histogram from
http://www.maths.lth.se/matstat/staff/hb/mypackages/R/plot.histogram.R
Remigijus
Saturday, January 25, 2003, 10:21:30 PM, you wrote:
FHFPdRHi, I am having some trouble trying to plot a histogram in more than one
FHFPdR colour. What I want