Re: [R] scaling y-axis to relative frequency in multiple histogram (multhist)

2006-11-30 Thread Ben Bolker
ahimsa campos-arceiz wrote: > Dear Ben, > > thank you very much for your prompt reply. > > but I'm afraid I'm missing something: when I apply your function > pmulthist I > obtain exactly the same results as with multhist (with the y axis > representing frequencies rather than a probability). > >

Re: [R] scaling y-axis to relative frequency in multiple histogram (multhist)

2006-11-30 Thread ahimsa campos-arceiz
Dear Ben, thank you very much for your prompt reply. but I'm afraid I'm missing something: when I apply your function pmulthist I obtain exactly the same results as with multhist (with the y axis representing frequencies rather than a probability). I was checking but couldn't find the problem (*

[R] scaling y-axis to relative frequency in multiple histogram (multhist)

2006-11-30 Thread ahimsa campos-arceiz
Hi, I'm plotting a multiple histogram using the function multhist {package plotrix}, something like: library(plotrix) mh <- list(rnorm(200, mean=200, sd=50), rnorm(200, mean=250, sd=50)) multhist(mh) In this graph y-axis represents the frequency of observations but I would like it to be scal