D 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:
"Lisa"
,"Emily"
Numbers:
100
,3.14
Logical values:
TRUE
,FALSE
Glossary items: ordinal
Citations: Wickham (2021)
Internal links: ChapterĀ 3
External links: Mastering Shiny
Menu/interface options:
New File...
Quiz question: I am going to learn a lot:
-
What is a p-value?
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 = " ")
## [1] "Code Output 1"
## Markdown Example
* Inline code: `r nrow(iris)`
* *Italics*
* **Bold**