[R] Simulation functions for underdispered Poisson and binomial distributions

Shinichi Nakagawa shinichi.nakagawa at otago.ac.nz
Wed Jul 15 01:35:37 CEST 2009


Dear R users

I would like to simulate underdispersed Poisson and binomial  
distributions somehow.

I know you can do this for overdispersed counterparts - using  
rnbinom() for Poisson and rbetabinom() for binomial.

Could anyone share functions to do this? Or please share some tips for  
modifying existing functions to achieve this.

Thank you very much for your help and time

Shinichi
____________________
Shinichi Nakagawa, PhD
(Lecturer of Behavioural Ecology)
Department of Zoology
University of Otago
340 Great King Street
P. O. Box 56
Dunedin, New Zealand
Tel:  +64-3-479-5046
Fax: +64-3-479-7584
http://www.otago.ac.nz/zoology/staff/academic/nakagawa.html




More information about the R-help mailing list