apply_scale: Apply a Scale Factor to Table Elements

Description Usage Arguments Value See Also

View source: R/apply_scale.bare.R

Description

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.

Usage

1

Arguments

x

A data frame containing table elements (entries, hvrules, or blocks).

type

Character string with the element type for x, one of entry, block, or hvrule.

scale

Numeric scalar; a multiplier used to increase or decrease the displayed size of all the elements in x.

Value

A data frame like x, with the columns containing scalable graphical properties multiplied by scale.

See Also

grSpecs specifies which graphical properties are scalable for each element type.


tablesgg documentation built on June 3, 2021, 1:06 a.m.