Thank you very much for you kind explanation Berend Hasselman!! Is it possible to declare this probability density function without looping? -- View this message in context: http://r.789695.n4.nabble.com/Declaring-a-density-function-with-for-loop-tp4635699p4635720.html Sent from the R help mailing list archive at Nabble.com.