Take two Layout objects and combine by rows.
layRowBind(x, y, heights = c(1, 1), addmax = TRUE)# S4 method for Layout,Layout layRowBind(x, y, heights = c(1, 1), addmax = TRUE)
# S4 method for Layout,Layout layRowBind(x, y, heights = c(1, 1), addmax = TRUE)
object of class Layout
a vector with relative heights used in combining the x and y layouts.
if true (default) the ids of the plots in the second layout will be shifted by the number of plots in the first layout.
# NOT RUN { l1 = layCreate(matrix(c(1:2),ncol = 2),widths=c(4,1)) l2 = layCreate(matrix(c(1:4),ncol = 2),widths=c(1,1)) lb = layRowBind(l1,l2) layShow(lb) # }
Run the code above in your browser using DataCamp Workspace