Shiny 应用程序中并排的多个图

Multiple plots side by side in a Shiny app

我之前创建过使用宽度属性并排放置绘图的应用程序。但是,对于这个新的应用程序,它不起作用,我似乎找不到原因。

以前的应用程序,live version. GitHub repo. 或 运行 使用(首先加载 Shiny 库):

runGitHub("deleetdk/regression_towards_the_mean")

无法使用的新应用。 GitHub repo. 或 运行 使用:

runGitHub("deleetdk/classification_multiple_predictors")

相关代码看起来和我一样。我忽略了什么?

它工作的应用程序使用自定义 CSS 设置 float:lefthttps://github.com/Deleetdk/regression_towards_the_mean/blob/master/www/style.css https://github.com/Deleetdk/regression_towards_the_mean/blob/master/ui.R#L13