Learn R Programming

Gmisc (version 3.0.3)

prTpGetBoxSizedTextGrob: Gets the text size for the box

Description

Gets the text size for the box

Usage

prTpGetBoxSizedTextGrob(
  txt,
  txt_clr,
  txt_cex,
  txt_gpar = NULL,
  force_cex = FALSE,
  ...
)

Arguments

txt

The text

txt_clr

The color of the text

txt_cex

The font size

txt_gpar

The [grid::gpar()] object that is overridden with col & cex by other parameters

force_cex

If font size should be forced

...

Other options