Using the Bournemouth style sheet

Add the following to the YAML (i.e the top of the markdown document) when writing a report on the server.

csl: /home/styles/harvard-bournemouth-university.csl

Find available styles

dir("/home/styles",pattern="*bournemouth-uni*")
## [1] "harvard-bournemouth-university.csl"
dir("/home/styles",pattern="ecology")
##  [1] "austral-ecology.csl"                         
##  [2] "avian-conservation-and-ecology.csl"          
##  [3] "ecology-and-society.csl"                     
##  [4] "ecology-letters.csl"                         
##  [5] "ecology-of-freshwater-fish.csl"              
##  [6] "ecology.csl"                                 
##  [7] "evolutionary-ecology-research.csl"           
##  [8] "frontiers-in-ecology-and-the-environment.csl"
##  [9] "global-ecology-and-biogeography.csl"         
## [10] "journal-of-industrial-ecology.csl"           
## [11] "journal-of-minimally-invasive-gynecology.csl"
## [12] "journal-of-plant-ecology.csl"                
## [13] "journal-of-pollination-ecology.csl"          
## [14] "journal-of-tropical-ecology.csl"             
## [15] "methods-in-ecology-and-evolution.csl"        
## [16] "obstetrics-and-gynecology-science.csl"       
## [17] "restoration-ecology.csl"

Citing some R books

Add this to the YAML

bibliography: /home/refs/collection.bib

Header of this doc looks like this …

title: “Citations in Markdown”

author: “Duncan Golicher”

date: “12/26/2018”

output: html_document

bibliography: /home/refs/R.bib

csl: /home/styles/harvard-bournemouth-university.csl

link-citations: true

Citing

Using the following.

[@Bolker2008][@Crawley2014; @Zuur2009; @Zuur2009a]

A ref. (Bolker 2008)

Some others.

(Golicher et al. 2011) (Golicher et al. 2006) (Stillman et al. 2008) Golicher et al. (2006)

(Zuur et al. 2009a, 2009b, Crawley 2014)

## Copy the file locally
#system ("cp /home/refs/collection.bib collections.bib")
#system ("cp collections.bib /home/refs/collection.bib ")

References

Bolker, B. M., 2008. Ecological models and data in R [online]. Princeton University Press. Available from: http://ms.mcmaster.ca/~bolker/emdbook/.

Crawley, M. J., 2014. Statistics: An introduction using R [online]. 2nd ed. Wiley. Available from: http://www.bio.ic.ac.uk/research/crawley/statistics/.

Golicher, D. J., Cayuela, L., Newton, A. C., and Name, J., 2011. Effects of Climate Change on the Potential Species Richness of Mesoamerican Forests. Change, 1–10.

Golicher, D. J., O’Hara, R. B., Ruíz-Montoya, L., and Cayuela, L., 2006. Lifting a veil on diversity: a Bayesian approach to fitting relative-abundance models. Ecological applications : a publication of the Ecological Society of America [online], 16 (1), 202–12. Available from: http://www.ncbi.nlm.nih.gov/pubmed/16705973.

Stillman, R. A., Smart, S. L., and Norris, K. J., 2008. Measuring the functional responses of farmland birds: an example for a declining seed-feeding bunting. Journal of Animal Ecology, 77 (4), 687–695.

Zuur, A. F., Ieno, E. N., and Meesters, E., 2009a. A beginner’s guide to R. Springer.

Zuur, A., Ieno, E. N., Walker, N., Saveiliev, A. A., and Smith, G. M., 2009b. Mixed effects models and extensions in ecology with R. New York: Springer.