# Bibliographical Features

One of the most powerful feature of Rmarkdown is the ability to render the document to any form. For example if you include the following code at the beginning of your document

---
title: "Learning features of R-Markdown"
output:
word_document: default
pdf_document:
fig_caption: yes
fig_height: 3.5
toc: yes
toc_depth: 2
html_document:
highlight-style: tango
toc: yes
toc_float:
collapsed: no
smooth_scroll: no
bibliography: bibtex.bib
---

In the above code, you can see the flexibility to specify the figure caption, figure height, and also include the bibliography in the document.

Let’s say my bibliography file looks like following:

@article{test1,
author = {Matloff, Norman},
title = {The Art of R Programming},
year = {2009}
}

@Manual{knitr1,
title = {knitr: A General-Purpose Package for Dynamic Report Generation in R},
author = {Yihui Xie},
year = {2016},
note = {R package version 1.13},
url = {http://yihui.name/knitr/},
}

As you can see there are two documents / references in my bibtex.lib file. So in order to reference the first one i.e., test1 The Art of R PRogramming. We can simply write @test1. The use can be seen as following:

@test1 refers very important features of R Programming.

Matloff (2009) referes very important features of R Programming.

The package written by @knitr1 is very popular in R community to perform reproducible research.

The package written by Xie (2016) is very popular in R community to perform reproducible research

## EndNote to Bibtex Format

Usually I have all of my references into EndNote software. To convert endnote references to Bibtex is very easy. You can follow this youtube link

# References

Matloff, Norman. 2009. “The Art of R Programming.”

Xie, Yihui. 2016. Knitr: A General-Purpose Package for Dynamic Report Generation in R. http://yihui.name/knitr/.