Hi Jon, thanks a lot, it seems to be working just perfect ;) thank you ! regards, Lucia -- View this message in context: http://r.789695.n4.nabble.com/triangular-matrix-tp4633679p4633809.html Sent from the R help mailing list archive at Nabble.com.