Fitting a density curve to a histogram in R Fitting a density curve to a histogram in R r r