1

rmarkdown请问 如何设置网格布局?

在下面的 .rmd 脚本中,我尝试按照flexdashboard示例设置行。但它不起作用:图表/表格在 pdf 中显示在另一个下方。

片段:

---
title: "Row Orientation"
output: pdf_document
orientation: rows
classoption: landscape
---
Row
-------------------------------------
### Chart 1
```{r}
hist(AirPassengers)
```
Row
-------------------------------------
### Chart 2
```{r}
head(mtcars)
```
### Chart 3
```{r}
hist(AirPassengers)
```

请问您认为这段代码有什么问题?

4

0 回答 0