/
setup.Rmd
47 lines (36 loc) · 946 Bytes
/
setup.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: "Setup for Divvy data analysis"
author: "Peter Carbonetto"
date: 2017-06-29
output: html_document
---
<!-- The file analysis/chunks.R contains chunks that define default settings
shared across the workflowr files. -->
```{r read-chunk, include=FALSE, cache=FALSE}
knitr::read_chunk("chunks.R")
```
<!-- Update knitr chunk options -->
```{r knitr-opts-chunk, include=FALSE}
```
<!-- Insert the date the file was last updated -->
```{r last-updated, echo=FALSE, results='asis'}
```
<!-- Insert the code version (Git commit SHA1) if Git repository exists and R
package git2r is installed -->
```{r code-version, echo=FALSE, results='asis'}
```
## Test
Reading in a data set saved in the repo:
```{r load-iris}
data(iris)
x <- iris
head(x)
```
## Another plot
```{r length-v-width}
plot(x$Sepal.Length, x$Petal.Width)
```
## Session information
<!-- Insert the session information into the document -->
```{r session-info}
```