Learn R Programming

customLayout (version 0.1.0)

layShow: Print the layout structure to the graphical device.

Description

Print the layout structure to the graphical device.

Usage

layShow(layout)

Arguments

layout

an object of class Layout.

Examples

Run this code
# NOT RUN {
l1 <- layCreate(matrix(c(1:2), ncol = 2), widths = c(4, 1))
l2 <- layCreate(matrix(c(1:3), ncol = 3), widths = c(2, 1, 3))
l3 <- layRowBind(l1, l2, heights = c(2, 1))
layShow(l3)

l4 <- layCreate(matrix(c(1:2), ncol = 2), widths = c(4, 1))
l5 <- layCreate(matrix(c(1:3), ncol = 1), heights = c(2, 1, 1))
l6 <- layColBind(l4, l5, widths = c(1, 1))
layShow(l6)

# }

Run the code above in your browser using DataLab