# EXAMPLE 6: Introduction to Statistics for Astrophysicists
# SS 2012
# JOCHEN WELLER

# Poisson PROBABILITY

nu=2
r=seq(0,20,by=1)

plot(r,dpois(r,nu),type='h',xlim=c(0,20),xlab='r',ylab="f(r;nu)",main=paste("nu=",nu))