gtable_row

0th

Percentile

Create a single row gtable.

Create a single row gtable.

Usage
gtable_row(name, grobs, height = NULL, widths = NULL, z = NULL,
  vp = NULL)
Arguments
name

a string giving the name of the table. This is used to name the layout viewport

grobs

a single grob or a list of grobs

height

a unit vector giving the height of this row

widths

a unit vector giving the width of each column

z

a numeric vector giving the order in which the grobs should be plotted. Use Inf (the default) to plot above or -Inf below all existing grobs. By default positions are on the integers, giving plenty of room to insert new grobs between existing grobs.

vp

a grid viewport object (or NULL).

Aliases
  • gtable_row
Examples
library(gtable) # NOT RUN { library(grid) a <- rectGrob(gp = gpar(fill = "red")) b <- circleGrob() c <- linesGrob() gt <- gtable_row("demo", list(a, b, c)) gt plot(gt) gtable_show_layout(gt) # }
Documentation reproduced from package gtable, version 0.2.0, License: GPL-2

Community examples

Looks like there are no examples yet.