Re: [R] multiple graphs on one plot

2019-05-14 Thread Andrew Halford
Hi Jim, Many thanks for your help and yes CW is carapace width. Here is the final coding I used...I set the peak of the curves at max frequency bin for each sex. I also added the means and SD's from my data. According to my visual diagnostics (qqplots, density plots) the frequency distributions

Re: [R] multiple graphs on one plot

2019-05-13 Thread Jim Lemon
Hi Andrew, First, a little mind reading. My crystal ball says that "cw" can be interpreted as "carapace width". It didn't tell me the parameters of the distribution, so: set.seed(1234) mf<-list(rnorm(400,145,15),rnorm(400,160,15)) library(plotrix) multhist(mf, xlab="CW", ylab="Frequency",

[R] multiple graphs on one plot

2019-05-12 Thread Andrew Halford
Hi Listers I've been trying to make a single graphic that has frequency histograms for male and female mud crabs displayed side by side (such as when using the beside=TRUE command for barplots). I then want to display a normal distribution on top of the male and female histograms. I have been