R calculating poisson probabilities using R

416 Views Asked by At

I have a problem that am trying to solve using R

Previously i had calculated the poisson distribution of x>1 with mean of 6 to be 0.983

now i would like to do the sam in R using R probability distribution function for poisson distribution. Doing a quick research found

dpois()

Is the probability distribution function for poisson distribution

How do i calculate probability using R(dpois) of x>1 since in normal poisson i would

p(x>1) = 1- p(x=0) - p(x=1)