Learn R Programming

Gmisc (version 3.0.3)

prBuildSubLabel: Add a sub-label to boxPropGrob

Description

Add a sub-label to boxPropGrob

Usage

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

Value

A textGrob with he additional attributes width and height.

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