R Markdown - 在页面上水平定位图
R Markdown - positioning plots on page horizontally
我对在 R Markdown 页面上定位图有疑问。这是一个小例子:
---
title: "Example"
output: pdf_document
---
```{r}
set.seed(1213)
x = cumsum(rnorm(1000))
plot(x, type = 'l')
```
我想让整个页面上的这个图水平旋转 90°。甚至有可能吗?
提前致谢!
假设您希望输出处于水平模式,请使用
---
title: "Example"
output: pdf_document
classoption: landscape
---
如果您想要混合横向和纵向,请参见此处:
我对在 R Markdown 页面上定位图有疑问。这是一个小例子:
---
title: "Example"
output: pdf_document
---
```{r}
set.seed(1213)
x = cumsum(rnorm(1000))
plot(x, type = 'l')
```
我想让整个页面上的这个图水平旋转 90°。甚至有可能吗?
提前致谢!
假设您希望输出处于水平模式,请使用
---
title: "Example"
output: pdf_document
classoption: landscape
---
如果您想要混合横向和纵向,请参见此处: