[R] curve of density on histogram

Michael Toews mwtoews at sfu.ca
Thu Mar 8 17:39:06 CET 2007


Your are so close ... you just need to specify that you want your 
histograms to show density, not percent. I've only edited one line of 
your script, the rest is good and plots nicely:

histogram(~ resp | group, col="steelblue",type="density",



More information about the R-help mailing list