Compute the layout of the zen plot
get_layout(
turns,
n2dplots,
first1d = TRUE,
last1d = TRUE,
width1d = 1,
width2d = 10
)
turns (character vector consisting if "u", "d", "l", "r")
the number of 2d plots (faces of the hypercube to be laid out)
logical indicating whether the first 1d plot should be plotted
logical indicating whether the last 1d plot should be plotted
width of 1d plots
width of 2d plots
list containing 1) the plot orientations (c("h", "s", "v", "s", ...)) 2) the plot dimensions (1d plot, 2d plot, 1d plot, ...) 3) the variable numbers plotted (an (nPlots, 2)-matrix) 4) the total width of the layout 5) the total height of the layout 6) coordinates of the bounding boxes