knitr::opts_chunk$set(echo = FALSE)

Heading 1

This is a template Rmd for rendering a MS Word document with custom styles, including

Now knit this doc, and edit to update the styles in the resulting docx file. Then rename as 'template' and use this in the yml of the main Rmd:

output:
  word_document:
    reference_docx: templates/template.docx

See here for more information: http://rmarkdown.rstudio.com/articles_docx.html

summary(cars)

Heading 2

You can also embed plots, for example:

plot(pressure)

Heading 3

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.

Heading 4



benmarwick/olympicdamboundaries documentation built on May 12, 2019, 1:02 p.m.