我希望在HTML文档中并排绘制以下图;
mydoc = addPlot(doc = mydoc,fun = function() barplot(as.matrix(Sustainability_Scores),col="green",ylab = "Sustainability Score",main = 'Sustainability Scores',las = 2))
mydoc = addPlot(doc = mydoc,fun = function() pie(as.matrix(Sustainability_Scores_pie),labels = c("Health","Basic Needs","Knowledge","Energy","Waste Water & Pollution","Technology","Total"), main = "Sustainability Score Distribution"))
我该怎么做?当我目前绘制它们时,它们一个在另一个之上,这不是我真正想要的。
谨致问候,抢劫
您可以使用此用法的建议R:
https://github.com/davidgohel/ReporteRs/issues/102