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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to