Posts Tagged: function

function to overlay histograms

Here I have written a function putting together the info I found on this site to help you create two (or more if change appropriately) histograms in R. overlaying<-function(first, second, bin_width) { one<-data.frame(value=first) two<-data.frame(value=second) #here we apply an identity, so

function to overlay histograms

Here I have written a function putting together the info I found on this site to help you create two (or more if change appropriately) histograms in R. overlaying<-function(first, second, bin_width) { one<-data.frame(value=first) two<-data.frame(value=second) #here we apply an identity, so