[R] adding lines to multiple plots

2008-07-30 Thread Gary W
Hi I am trying to add density lines to multiple histograms created using R. I have managed to get all 18 lines on the last histogram in the series, however, i cannot figure out how to get each line appear on the correct histogram plot. I know in Matlab there is a hold function, is there

[R] adding lines to multiple plot

2008-07-30 Thread Gary W
Hi I am trying to add density lines to multiple histograms created using R. I have managed to get all 18 lines on the last histogram in the series, however, i cannot figure out how to get each line appear on the correct histogram plot. I know in Matlab there is a hold function, is there

Re: [R] adding lines to multiple plot

2008-07-30 Thread Gary W
Hi ben Thanks for that, the density lines have now worked, however i was hoping that the labels would be the names of the columns in my original data set not numeric. any advice how to do this? gary w Ben Bolker wrote: ##find unique column names in table variablenames-unique(names