【发布时间】:2022-12-02 09:57:05
【问题描述】:
I want two ploty figures to appear side by side using r markdown.
{r}
library(plotly)
{r, figures-side, fig.show="hold", out.width="50%"}
plot_ly(x = iris$Species, y = iris$Sepal.Length, type = "bar")
plot_ly(x = iris$Species, y = iris$Petal.Length, type = "bar")
When I knit this, the figures appear on different lines. How can I make them side by side?
【问题讨论】:
标签: ploty r markdown r plotly r-markdown