-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsearch.json
1 lines (1 loc) · 1.35 KB
/
search.json
1
[{},{"path":"index.html","id":"prerequisites","chapter":"1 Prerequisites","heading":"1 Prerequisites","text":"sample book written Markdown. can use anything Pandoc’s Markdown supports, e.g., math equation \\(^2 + b^2 = c^2\\).bookdown package can installed CRAN Github:Remember Rmd file contains one one chapter, chapter defined first-level heading #.compile example PDF, need XeLaTeX. recommended install TinyTeX (includes XeLaTeX): https://yihui.name/tinytex/.","code":"\ninstall.packages(\"bookdown\")\n# or the development version\n# devtools::install_github(\"rstudio/bookdown\")"},{},{"path":"intro.html","id":"intro","chapter":"2 Introduction","heading":"2 Introduction","text":"can label chapter section titles using {#label} , e.g., can reference Chapter 2. manually label , automatic labels anyway, e.g., Chapter ??.Figures tables captions placed figure table environments, respectively.\nFigure 2.1: nice figure!\nReference figure code chunk label fig: prefix, e.g., see Figure 2.1. Similarly, can reference tables generated knitr::kable(), e.g., see Table 2.1.Table 2.1: nice table!can write citations, . example, using bookdown package (Xie 2021) sample book, built top R Markdown knitr (Xie 2015).","code":"\npar(mar = c(4, 4, .1, .1))\nplot(pressure, type = 'b', pch = 19)\nknitr::kable(\n head(iris, 20), caption = 'Here is a nice table!',\n booktabs = TRUE\n)"}]