Hao Zhu | 36bc508 | 2017-07-03 11:49:00 -0400 | [diff] [blame] | 1 | --- |
| 2 | title: "test_doc" |
| 3 | author: "Jake Thompson" |
| 4 | date: "6/30/2017" |
| 5 | output: |
| 6 | bookdown::pdf_document2: |
| 7 | toc: false |
| 8 | --- |
| 9 | |
| 10 | ```{r setup, include=FALSE} |
| 11 | knitr::opts_chunk$set(echo = FALSE, collapse = TRUE) |
| 12 | library(tidyverse) |
| 13 | ``` |
| 14 | |
| 15 | # Test heading |
| 16 | |
| 17 | Let make a data frame and print it in Table \@ref(tab:test-table) |
| 18 | |
| 19 | ```{r test-table} |
| 20 | data_frame(col_a = seq_len(5), col_b = rnorm(5), col_c = runif(5)) %>% |
| 21 | knitr::kable(caption = "This is a test") %>% |
| 22 | kableExtra::kable_styling(latex_options = "hold_position") |
| 23 | ``` |