rm(list=ls())
knitr::opts_chunk$set(fig.width=6, fig.height=5, fig.crop = F, fig.path='figs/',
                      echo=FALSE, warning=FALSE, cache=T, message=FALSE, sanitize = T)

Introduction

Cite fancy references [@Garnier2007].

Results

Results

Subsection 1

You can use R chunks directly to plot graphs.

require("ggplot2")
x <- 0:100
y <- 2 * (x + rnorm(length(x), sd = 3) + 3)
ggplot(data = data.frame(x, y), 
       aes(x = x, y = y)) + 
  geom_point() + 
  geom_smooth(method = "lm")

Subsection 2

Discussion

References



kemacdonald/kmr documentation built on May 20, 2019, 8:46 a.m.