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 the x vector doesn't contain integers....

really bizarre i can't give explanation (R version 2.11.1, no source codes)

would u be so kind to suggest me a solution???

thank u

FB student of statistics at milano bicocca

	[[alternative HTML version deleted]]

