Algorithms for bayesian inference (MCMC) cannot run fast enough inside a scripting language like R. Most authors create plugins to call their fast binary (C/C++) implementations inside of R. Just use them. I recommend JAGS and rjags. Better errors messages and good support from Plummer.
Cya 2012/3/29 Manuel Spínola <mspinol...@gmail.com> > Dear list members, > > This is not a very specific question on R for ecological analysis, but is > related. > > I have been in courses where R and WinBugs are used together for data > analysis, however, I still don´t understand why R need to use WinBUGS to > perform some bayesian analysis. > > I teach statistics through R for graduate students, however, teaching > bayesian statistics using R and Winbugs is not so intuitive. Is harder for > them to grasp bayesian statistics in that way. I have read form several > authors that bayesian statistics is more intuitive than frecuentist > statistics, however, doing through R and WInBUGS, is not the case for > students. > > For example I think student will understand more what they are doing if > they only see a line of code for R where you can specify everything and do > it only in R, rather than writing things for R and things for WinBUGS. > > Is really WinBUGS necessary? Is R not capable of doing the same type of > analysis? > > Any input will be appreciated. > > Best, > > Manuel > > -- > *Manuel Spínola, Ph.D.* > Instituto Internacional en Conservación y Manejo de Vida Silvestre > Universidad Nacional > Apartado 1350-3000 > Heredia > COSTA RICA > mspin...@una.ac.cr > mspinol...@gmail.com > Teléfono: (506) 2277-3598 > Fax: (506) 2237-7036 > Personal website: Lobito de río < > https://sites.google.com/site/lobitoderio/> > Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> > > [[alternative HTML version deleted]] > > > _______________________________________________ > R-sig-ecology mailing list > R-sig-ecology@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > > -- Currículo: http://lattes.cnpq.br/7541377569511492 -- Currículo: http://lattes.cnpq.br/7541377569511492 [[alternative HTML version deleted]]
_______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology