R code for plotting clustered data, a first repo made in Roger Leek