Place title of multiplot panel with ggplot2

前端 未结 2 1138
生来不讨喜
生来不讨喜 2020-12-04 16:08

From the help found here I\'ve managed to create this multiplot panel: \"enter with the follow

2条回答
  •  清歌不尽
    2020-12-04 16:41

    library(gridExtra)
    
    p <- ggplot()
    
    grid.arrange(p,p,p,p,p, top = "Title",
                layout_matrix = matrix(c(1,2,3,4,5,5), ncol=2, byrow=TRUE))
    

提交回复
热议问题