【发布时间】:2020-09-13 01:11:53
【问题描述】:
在 Rmarkdown 中,我想并排打印来自网络的两个图像。我正在尝试这个
```{r, echo=FALSE, out.width="33%", fig.align = "center", fig.cap="Examples of the FPTP bias: In Prairies (left) and Greater Toronto area (right). Source: www.fairvote.ca"}
knitr::include_graphics(
c("https://www.fairvote.ca/wp-content/uploads/2019/12/Western-alienation-website-FPTP-page.png", "https://www.fairvote.ca/wp-content/uploads/2019/12/Toronto-Peel-halton-2019-results-website-FPTP.jpg")
)
```
但相反,我得到了这个 - 它们仍然打印在另一个之上:
请指教。注意:我不使用cowplot 或任何其他包。
【问题讨论】:
标签: r r-markdown knitr