B Conventions

This book will use the following conventions:

  • Generic code: list(number = 1, letter = "A")
  • Highlighted code: list(number = 1, letter = "A")
  • File paths: data/sales.csv
  • R Packages: tidyverse
  • Functions: paste()
  • Strings: "R", "Shiny"
  • Numbers: 100, 3.14
  • Logical values: TRUE, FALSE
  • Glossary items: ordinal
  • Citations: Wickham (2021)
  • Internal links: ChapterĀ D
  • External links: Mastering Shiny
  • Menu/interface options: New File...
  • Quiz question: I am going to learn a lot:

You found it!

Informational asides.

Notes to warn you about something.

Notes about things that could cause serious errors.

Try it yourself.

# code chunks
paste("Code", "Output", 1, sep = " ")
```{r, fig.width = 2, fig.height = 2}
# code chunks with headers
hist(rnorm(100000))
```
## Markdown Example

* Inline code: `r nrow(iris)`
* *Italics*
* **Bold**