Class for creating an object in a gridify layout.
Slots
rowA numeric value, span or sequence specifying the row position of the object.
colA numeric value, span or sequence specifying the column position of the object.
heightA numeric value specifying the height of the object as a fraction of the row (interpreted in
npc). Ignored whenvjust != 0.5and the grob is fixed-size: in that case the viewport is sized togrid::grobHeight()so the object can be anchored within a taller row. The 1-inch floor in applies in both cases.widthA numeric value specifying the width of the object.
vjustA numeric value in
[0, 1]specifying the vertical anchoring of the object within its cell.0aligns to the bottom,0.5(default) centers it, and1aligns to the top. Anchoring only takes effect for fixed-size grobs (e.g.gt::as_gtable(),flextable::gen_grob(), plaingrid::rectGrob()). Flexible grobs whose natural height is meant to fill the container (e.g.ggplot2::ggplotGrob(), recorded gTrees fromgrid::grid.grabExpr()) always span the full row regardless ofvjust. For fixed-size table grobs, edge values (0or1) place the table directly against the object-row edge; add spacer rows in a custom layout or use an inset value such as0.05or0.95if nearby text appears too close.
