Apply a scale factor to table elements, to change their overall displayed size. This is an internal function, not intended to be called by package users.
apply_scale(x, type, scale)
A data frame like x
, with the columns containing scalable graphical
properties multiplied by scale
.
A data frame containing table elements (entries, hvrules, or blocks).
Character string with the element type for x
, one of entry
,
block
, or hvrule
.
Numeric scalar; a multiplier used to increase or decrease the displayed
size of all the elements in x
.
grSpecs
specifies which graphical properties are scalable
for each element type.