I wanted to generate two images of different sizes, but show them side-by-side. Is this possible?
This works, but then they have to be the same size:
```{r two_plots_same_size_side_by_side, fig.width=5, fig.height=5}
plot(...)
plot(...)
```
This doesn't work, but it could since in Markdown, lines that are separated by a single newline, appear on the same line.
```{r normal_plot, fig.width=5, fig.height=5}
plot(...)
```
```{r tall_plot, fig.width=5, fig.height=9}
plot(...)
```
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…