squeeze {ggmosaic}R Documentation

Internal helper function

Description

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

Usage

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


[Package ggmosaic version 0.3.3 Index]