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.


gforge/Gmisc documentation built on Aug. 30, 2023, 7:38 a.m.