setup_viewports {ggplot2} | R Documentation |
Setup matrix of viewports for a layout with given parameters
setup_viewports(type, data, offset = c(0,0), clip = "on")
type |
viewport type |
data |
number of rows |
offset |
number of columns |
clip |
optional data to compute rows and columns from |
|
offset from top and left |
|
list containing x and y ranges |
Hadley Wickham <h.wickham@gmail.com>