ggplot2: Define plot layout with grid.arrange() as argument of do.call()

后端 未结 1 581
既然无缘
既然无缘 2020-12-25 14:26

I want to obtained an unbalanced grid of plots such as

require(ggplot2)
require(gridExtra)

df <- data.frame(value1 = rnorm(200),
                 value2          


        
1条回答
  •  渐次进展
    2020-12-25 14:44

    You can now do,

    grid.arrange(p1,p2,p3,p4, layout_matrix = rbind(c(1,1,1),c(2,3,4)))
    

    0 讨论(0)
提交回复
热议问题