Include figure labels in R markdown for side by side plots
问题 In my rmarkdown document, I want to include plots side by side to save space. For example, I want to include: plot(rnorm(100)) hist(runif(100)) or plot(rnorm(100)) hist(runif(100)) I don't really care if there is one caption for both subplots or one caption for each subplot. I just really want to include figures side by side and have some way to refer to them (Figure 1, etc). Does anyone have suggestions? I have this in my header: header-includes: - \usepackage{subfig} When I don't have "fig