prBuildSubLabel: Add a sub-label to 'boxPropGrob'

View source: R/boxGrobs_boxPropGrob.R

prBuildSubLabelR Documentation

Add a sub-label to boxPropGrob

Description

Add a sub-label to boxPropGrob

Usage

prBuildSubLabel(label, prop, txt_gp, side = c("left", "right"))

Arguments

label

The text of the label

prop

The proportion

txt_gp

The style as defined by gpar()

side

The side that the label belongs to

Value

A textGrob with he additional attributes width and height.


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.