powered by
qvector(x, probs = seq(0, 1, 0.25))
quantile
x <- rnorm(20) x y <- qvector(x) y rbind(x, y) plot(x, y, type="h")
Run the code above in your browser using DataLab