[R] dpois().......bizarre warning messages

2010-10-17 Thread Federico Bonofiglio
Dear Masters, I have a question to submit consider the following script m-4.95 obs-rpois(36,m) # i generate 36 realization from a poisson(m) hist(obs,freq=F) curve(dpois(x,m),add=T,col=red) #i wish to overlay on the histogram the theorical poisson density function errors are returned saing

Re: [R] dpois().......bizarre warning messages

2010-10-17 Thread Ben Bolker
Federico Bonofiglio bonoricus at gmail.com writes: consider the following script m-4.95 obs-rpois(36,m) # i generate 36 realization from a poisson(m) hist(obs,freq=F) curve(dpois(x,m),add=T,col=red) #i wish to overlay on the histogram the theorical poisson density function errors are

Re: [R] dpois().......bizarre warning messages

2010-10-17 Thread Dennis Murphy
Hi: On Sun, Oct 17, 2010 at 8:46 AM, Federico Bonofiglio bonori...@gmail.comwrote: Dear Masters, I have a question to submit consider the following script m-4.95 obs-rpois(36,m) # i generate 36 realization from a poisson(m) hist(obs,freq=F) curve(dpois(x,m),add=T,col=red) #i wish to