|
@@ -1,8 +1,12 @@
|
|
|
-# h1
|
|
|
|
|
-
|
|
|
|
|
```{r knitr_options, include=FALSE}
|
|
```{r knitr_options, include=FALSE}
|
|
|
|
|
+# knitr::knit imports knitr automatically
|
|
|
|
|
+# rmarkdown::render does not import knitr automatically
|
|
|
|
|
+library(knitr)
|
|
|
opts_chunk$set(fig.path='figures/')
|
|
opts_chunk$set(fig.path='figures/')
|
|
|
```
|
|
```
|
|
|
|
|
+<!-- https://yihui.name/knitr/options/ -->
|
|
|
|
|
+
|
|
|
|
|
+# h1
|
|
|
|
|
|
|
|
```{sh}
|
|
```{sh}
|
|
|
date
|
|
date
|
|
@@ -64,11 +68,24 @@ Pi is `r pi`.
|
|
|
plot(1:10)
|
|
plot(1:10)
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-## R session info
|
|
|
|
|
|
|
+\pagebreak
|
|
|
|
|
+
|
|
|
|
|
+# Resources
|
|
|
|
|
+
|
|
|
|
|
+[knitr in a knutshell](http://kbroman.org/knitr_knutshell/)
|
|
|
|
|
+
|
|
|
|
|
+[using pander with knitr](http://rapporter.github.io/pander/knitr.html)
|
|
|
|
|
+
|
|
|
|
|
+[pander options](http://rapporter.github.io/pander/#pander-options)
|
|
|
|
|
+
|
|
|
|
|
+[CrossTable documentation](https://www.rdocumentation.org/packages/descr/versions/1.1.3/topics/CrossTable)
|
|
|
|
|
+
|
|
|
|
|
+[R in clinical research](http://www.r-clinical-research.com/)
|
|
|
|
|
+
|
|
|
|
|
+\pagebreak
|
|
|
|
|
+
|
|
|
|
|
+# R session info
|
|
|
|
|
+
|
|
|
```{r session_info}
|
|
```{r session_info}
|
|
|
sessionInfo()
|
|
sessionInfo()
|
|
|
```
|
|
```
|
|
|
-
|
|
|
|
|
-<!--
|
|
|
|
|
-https://yihui.name/knitr/options/
|
|
|
|
|
--->
|
|
|