Skip to content

Repository for code from the "plateau" climate envelope analysis in Brewer et al (2016/7) in Methods in Ecology and Evolution

License

Notifications You must be signed in to change notification settings

MarkJBrewer/PlateauPaper

Repository files navigation

PlateauPaper

Repository for code from the "plateau" climate envelope analysis in Brewer, O'Hara, Anderson and Ohlemüller (2016) in Methods in Ecology and Evolution

The file "Plateau.rmd" requires a number of packages:

R2WinBUGS,mgcv,mapproj,maps,coda,boot,oce,gsw

in addition to the package "plateau", the focus of the paper, which is downloaded from GitHub and installed as part of the code. The separate WinBUGS package must also be installed (see http://www.mrc-bsu.cam.ac.uk/software/bugs/).

The code should, for the most part, need little or no intervention from the user. Note that the MCMC analyses (which call WinBUGS) each take several hours to run. If WinBUGS is not installed in the folder "C:/Program Files (x86)/WinBUGS" then the option "bugs.directory" will need to be set to the correct location when calling the function fit.bugs.env. Note also that depending on your version of Windows, you may need to run your R program with administrator permissions.

About

Repository for code from the "plateau" climate envelope analysis in Brewer et al (2016/7) in Methods in Ecology and Evolution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages