Could you post or add the R code to this blog. It would be interesting to see how much/little R…