Agustín,

This looks more like an R-help question, than an ESS question.
It should be on the R-help list r-help@r-project.org

I will answer what I think is your question.  It looks to me more like
a situation for apply than for For.

Next time please send an example that can be picked up from the
email and dropped directly into R.

x <- matrix(sample(10, 30, replace=TRUE), 6,5)

apply(x, 2, quantile,
       probs = c(0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100)/100,
       na.rm=FALSE, type=1)

See
?apply
for details.


Rich

	[[alternative HTML version deleted]]

