Function for creating a new instance of the gridifyCells class. gridifyCells consists of multiple gridifyCell objects and is an input object for gridifyLayout.
Examples
cell1 <- gridifyCell(
row = 1,
col = 1,
x = 0.5,
y = 0.5,
hjust = 0.5,
vjust = 0.5,
rot = 0,
gpar = grid::gpar()
)
cell2 <- gridifyCell(
row = 2,
col = 2,
x = 0.5,
y = 0.5,
hjust = 0.5,
vjust = 0.5,
rot = 0,
gpar = grid::gpar()
)
cells <- gridifyCells(title = cell1, footer = cell2)