distribplot<-function(data,col=c("blue","red"),main="iHS distribution",xlab="iHS"){
plot(density(data,na.rm=T),main=main,xlab="iHS",col=col[1])
curve(dnorm,col=col[2],add=T)
smartlegend("right","top",c("Observed","Gaussian"),fill=col)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.