我想修改R Markdown
演示文稿中标题和正文之间的空白高度。
在下面的示例中,“简单图”标题与最近的输出(此处为:代码块)之间有相当大的空白。有没有办法编辑它(准确地说,将它缩小)?
R降价代码:
Presentation title
========================================================
author: Marta
date: February 9, 2019
autosize: true
Simple plot
==========================
<small><small><small>
```{r, fig.width = 10, fig.height = 5}
## Make some foo data frame
df <- data.frame(time = 1:10, value = rnorm(10))
## Plot
library(ggplot2)
ggplot(df, aes(x = time, y = value)) +
geom_point() +
geom_line()
```
</small></small></small>
呈现的演示文稿的幻灯片截图: