squeeze: Internal helper function

Description Usage Arguments Value Author(s)

View source: R/divider.R

Description

Squeeze pieces to lie within specified bounds; directly copied from package productplots

Usage

1
squeeze(pieces, bounds = bound())

Arguments

pieces

rectangle specified via l(eft), r(ight), b(ottom), t(op)

bounds

rectangle specified via l(eft), r(ight), b(ottom), t(op)

Value

re-scaled values for piece according to boundaries given by bounds

Author(s)

Hadley Wickham


ggmosaic documentation built on Feb. 24, 2021, 1:06 a.m.