Skip to content
Prev 299384 / 398506 Next

Declaring a density function with for loop

chamilka wrote
The error is the line

for (j in 0:exp(10)) { 

Shouldn't that be

for (i in 0:exp(10)) { 

When I use this line results appear to be more in line with what you are
expecting.

Berend


--
View this message in context: http://r.789695.n4.nabble.com/Declaring-a-density-function-with-for-loop-tp4635699p4635706.html
Sent from the R help mailing list archive at Nabble.com.