Skip to content

Instantly share code, notes, and snippets.

View ohofmann's full-sized avatar

Oliver Hofmann ohofmann

  • University of Melbourne
  • Melbourne, Australia
View GitHub Profile
@ohofmann
ohofmann / knitr.rmd
Created June 11, 2012 16:49 — forked from jnhutchinson/knitr.rmd
example knitr.r
### KNITR SETUP
```{r setup, echo=FALSE}
opts_chunk$set(tidy=TRUE, cache=FALSE, highlight=TRUE, figalign="center", warning=FALSE, error=FALSE, message=FALSE, fig.height=11, fig.width=11)
```
### EXAMPLE CHUNK
```{r libraries}
library(ggplot2)
library(xtable)