```{r warning=FALSE, echo=FALSE, message=FALSE}
582 | knitr::opts_chunk$set(echo =FALSE, warning=FALSE, message=FALSE)
583 | library(knitr)
584 | library(xtable)
585 | library(flextable)
586 | library(dplyr)
587 | ```
588 |
589 | # Figures intro
590 |
591 | This chapter shows a few simple examples of including figures and getting cross-referencing to work across formats (HTML, Word, PDF).
592 |
593 | ## `ggplot2`
594 |
595 | We can see in @fig-salmon that there are many time series. The number of panels is choosen automatically using {ggplot2}.
596 |
597 | ```{r child=here::here("figures", "Figure_salmon_ts.Rmd")}
598 | ```
599 |
600 | ```{=openxml}
601 | <w:p><w:r><w:br w:type="page"/></w:r></w:p>
602 | ```