R - rug(): add tick marks at the basis of base plot

26 Aug 2017

set.seed(3)
x <- rbeta(150, 3, 25)
hist(x)
rug(quantile(x), col=2, lwd=2.5)

viewed on http://www.rfunction.com

[ R  plot  function  ]