Hello,

2012/5/22 Christophe Dutang <duta...@gmail.com>

> Dear Joan,
>
> Are you aware of this page
> http://cran.r-project.org/web/views/Distributions.html ?
>

Yes, I remember
https://stat.ethz.ch/pipermail/r-devel/2012-March/063552.html


> If you want to contribute to R, you should write a package and submit it
> to CRAN. See http://cran.r-project.org/doc/manuals/R-exts.html
>

It's necessary to develop a package before to add the functions to R-base?
I just want to add beta binomial and beta negative binomial distributions
which from my point of view are not more strange than distributions
included in R-base. I think they are quite common in order to simulate a
binomial or negative binomial process in an stochastic environment.

In the other hand I have no experience in writing packages so it would take
me more time.

Yours,
Joan

Regards
>
> Christophe
>
> --
> Christophe Dutang
> Ph.D. student at ISFA, Lyon, France
> website: http://dutangc.free.fr
>
> Le 22 mai 2012 à 12:14, Joan Maspons a écrit :
>
> > Hello,
> >
> > I implemented the Beta binomial distribution following the patterns of
> the
> > binomial distribution code and inspired by JAGS' code [1]. I have studied
> > the code carefully but it's my first run in the R internals.
> >
> > Can somebody review the code and if everything it's ok commit to the
> > repository?
> >
> > [1]
> >
> http://mcmc-jags.hg.sourceforge.net/hgweb/mcmc-jags/mcmc-jags/file/15af65a4be29/src/modules/bugs/distributions/DBetaBin.cc
> >
> >
> > --
> > Joan Maspons
> > CREAF (Centre de Recerca Ecològica i Aplicacions Forestals)
> > Universitat Autònoma de Barcelona, 08193 Bellaterra (Barcelona),
> Catalonia
> > Tel +34 93 581 2915            j.masp...@creaf.uab.cat
> > http://www.creaf.uab.cat
> > ______________________________________________
> > R-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
>
>


-- 
Joan Maspons
CREAF (Centre de Recerca Ecològica i Aplicacions Forestals)
Universitat Autònoma de Barcelona, 08193 Bellaterra (Barcelona), Catalonia
Tel +34 93 581 2915            j.masp...@creaf.uab.cat
http://www.creaf.uab.cat

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to