# Chapter 1 ______

## 1.1 Preface

This sabbatical project, which was supported by Concordia University - Portland, will result in the completion of an OER casebook for use in Abnormal Psychology and Psychopathology courses at the undergraduate level. Unique to existing for-purchase casebooks, a chapter on critical thinking and clinical decision-making, as well as cognitive debiasing, will provide students with essential knowledge and skills applicable to many fields, not just clinical or counseling psychology. In the chapters to follow the introduction of such concepts, students will be provided with cases for learning both the content related to the course subject matter (i.e., prototypical expressions of specific disorders) and the process of differential diagnosis (which is essentially a form of critical thinking coupled with cognitive forcing techniques designed to reduce errors produced by unchecked cognitive biases). This process will inform critical thinking practices in areas beyond Abnormal Psychology and Psychopathology, better equipping students for their engagement as citizens in our commons.

## 1.2 Introduction

blah…blah…blah…

You can label chapter and section titles using {#label} after them, e.g., we can reference Chapter ??. If you do not manually label them, there will be automatic labels anyway, e.g., Chapter ??.

Figures and tables with captions will be placed in figure and table environments, respectively.

par(mar = c(4, 4, .1, .1))
plot(pressure, type = 'b', pch = 19)

Reference a figure by its code chunk label with the fig: prefix, e.g., see Figure 1.1. Similarly, you can reference tables generated from knitr::kable(), e.g., see Table 1.1.

knitr::kable(
head(iris, 20), caption = 'Here is a nice table!',
booktabs = TRUE
)
Table 1.1: Here is a nice table!
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
5.1 3.5 1.4 0.2 setosa
4.9 3.0 1.4 0.2 setosa
4.7 3.2 1.3 0.2 setosa
4.6 3.1 1.5 0.2 setosa
5.0 3.6 1.4 0.2 setosa
5.4 3.9 1.7 0.4 setosa
4.6 3.4 1.4 0.3 setosa
5.0 3.4 1.5 0.2 setosa
4.4 2.9 1.4 0.2 setosa
4.9 3.1 1.5 0.1 setosa
5.4 3.7 1.5 0.2 setosa
4.8 3.4 1.6 0.2 setosa
4.8 3.0 1.4 0.1 setosa
4.3 3.0 1.1 0.1 setosa
5.8 4.0 1.2 0.2 setosa
5.7 4.4 1.5 0.4 setosa
5.4 3.9 1.3 0.4 setosa
5.1 3.5 1.4 0.3 setosa
5.7 3.8 1.7 0.3 setosa
5.1 3.8 1.5 0.3 setosa

You can write citations, too. For example, we are using the bookdown package (Xie 2019) in this sample book, which was built on top of R Markdown and knitr (Xie 2015).

## 1.3 Notes

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:

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/.

### References

Xie, Yihui. 2015. Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC. http://yihui.name/knitr/.

Xie, Yihui. 2019. Bookdown: Authoring Books and Technical Documents with R Markdown. https://CRAN.R-project.org/package=bookdown.