(VTableTree
)rtables
table object.
(grid::unit
)
width of row names.
(grid::unit
)
width of column spans.
(grid::unit
)
width of the forest plot.
(grid::unit
)
gap width between the columns.
(grid::unit
)
gap width between the header.
(MatrixPrintForm
)
matrix print form of the table.
A viewport tree.
library(grid)
tbl <- rtable(
header = rheader(
rrow("", "E", rcell("CI", colspan = 2)),
rrow("", "A", "B", "C")
),
rrow("row 1", 1, 0.8, 1.1),
rrow("row 2", 1.4, 0.8, 1.6),
rrow("row 3", 1.2, 0.8, 1.2)
)
# \donttest{
v <- forest_viewport(tbl)
#> Warning: `forest_viewport()` was deprecated in tern 0.9.4.
#> ℹ `g_forest` now generates `ggplot` objects. This function is no longer used
#> within `tern`.
#> Warning: `vp_forest_table_part()` was deprecated in tern 0.9.4.
#> ℹ `g_forest` now generates `ggplot` objects. This function is no longer used
#> within `tern`.
#> ℹ The deprecated feature was likely used in the tern package.
#> Please report the issue at
#> <https://github.com/insightsengineering/tern/issues>.
grid::grid.newpage()
showViewport(v)
# }