forked from rstudio/bookdown-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.Rmd
executable file
·55 lines (41 loc) · 1.73 KB
/
index.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
48
49
50
51
52
53
54
55
---
title: "How to be Careful with Covid-19 Counts: A Practical Guide for Data Scientists"
author: "Rex W. Douglass"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
bibliography: [MyLibrary.bib, packages.bib]
biblio-style: apalike
link-citations: yes
github-repo: rstudio/bookdown-demo
description: ""
always_allow_html: yes
---
```{r,eval=T, warning=FALSE,message=FALSE,error=FALSE, results='hide' , include=FALSE}
knitr::opts_chunk$set( out.width='100%', fig.align='center', echo=F, warning=FALSE,message=FALSE,error=FALSE, results='hide', cache=T )
#On setting up zotero and bibtex
#https://ontheline.trincoll.edu/bookdown.html
#This is a _sample_ book written in **Markdown**. You can use anything that Pandoc's Markdown supports, e.g., a math equation $a^2 + b^2 = c^2$.
#The **bookdown** package can be installed from CRAN or Github:
#Notes to self
#It's not like R notebook you have the knit every time you want to update html, you can't just save
#You don't have to rerun the code or rebuild the whole book though.
```
```{r eval=FALSE,warning=FALSE,message=FALSE,error=FALSE, results='hide'}
#install.packages("bookdown")
# or the development version
# devtools::install_github("rstudio/bookdown")
```
<!-- Remember each Rmd file contains one and only one chapter, and a chapter is defined by the first-level heading `#`. -->
<!-- To compile this example to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): <https://yihui.name/tinytex/>. -->
```{r include=FALSE}
# automatically create a bib database for R packages
knitr::write_bib(c(
.packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')
```
```{r}
#Library Loads
library(tidyverse)
```