Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205399

Arrange ggplot Output Charts on ioslides Slide

$
0
0

Problem:

I am using RMarkdown to produce an ioslides presentation. I don't really know any CSS, but I can hack around a little.

I have three ggplot charts I want on a single slide. Here's what I did in the RMarkdown. (I left the R code out, because the R code works!)

## Categorical Exploration
<div class="columns-2">

```{r byFormat, echo=FALSE, message=FALSE, warning=FALSE, fig.width=3.25,fig.height=2}

```

Outcome

The second chart seems to want to "break" across the columns. I think the best way to solve this is with a grid rather than columns (in other words, rows too), but I just don't know how to do this in CSS/Rmd. Another option might be to arrange the charts in the R code itself, but that would be very tricky.

Output Slide

Desired Outcome:

Desired Outcome


Viewing all articles
Browse latest Browse all 205399

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>