I am trying to understand how the dpois command in WinBUGS differs from the dpois command in R. I am attempting to predict estimates for counts within different areas. The code works in WinBUGS and results in a count estimation, however for some of my distributions the code is running much too long. I can export the eta information in the code below to R to generate predictions, but I don't think dpois in R does the same thing as it does in WinBUGS.
In R, ?dpois provides help. Is there a WinBUGS equivalent that would provide background about what the command is doing?
What does dpois in WinBUGS provide? If I attempt to use a similar command in R, what x value needs to be provided to dpois(x, lambda) to generate the equivalent result?
Thank you.
for(i in 1:16){ELU.abundance[i]~dpois(eta[i])}
park.total<-sum(ELU.abundance[1:16])