C Conventions

This book will use the following conventions:

C.1 Webexercises

  • Type an integer:
  • I am going to learn a lot:
  • What is a p-value?

You found some hidden text!

print("You found some hidden code!")
## [1] "You found some hidden code!"

C.2 Alert boxes

Informational asides.

Notes to warn you about something.

Notes about things that could cause serious errors.

Try it yourself.

C.3 Code Chunks

# code chunks
paste("psyTeachR", "Tutorials", 2021, sep = " ")
## [1] "psyTeachR Tutorials 2021"
```{r setup, message = FALSE}
# code chunks with visible r headers
library(tidyverse)
```

C.4 Glossary

term definition
ordinal Discrete variables that have an inherent order, such as number of legs