ggInterval_hist(mtcars,aes(x=wt))
ggInterval_hist(iris,aes(iris$Petal.Length,col="blue",alpha=0.2,
fill="red"),bins=30)
d<-data.frame(x=rnorm(1000,0,1))
p<-ggInterval_hist(d,aes(x=x),bins=40,method="equal-bin")$plot
p
p+scale_fill_manual(values=rainbow(40))+labs(title="myNorm")
Run the code above in your browser using DataLab