gr: Thin wrappers of 'graphics' functions.

grR Documentation

Thin wrappers of graphics functions.

Description

Thin wrappers of graphics functions.

Usage

str_h(s, units = "user", cex = NULL, font = NULL, vfont = NULL, ...)

str_w(s, units = "user", cex = NULL, font = NULL, vfont = NULL, ...)

Details

  str_h   strheight.
  str_w strwidth.

See Also

Other strings: blank(), chn(), delim(), fsub(), ipat(), makestr(), markdown_help(), maxnch(), ox(), ox_vals(), pgrid_help(), revstr(), spaces(), ss_help(), tocase(), weave()

Other plots: color_funs(), gg_help(), markdown_help(), pals_help(), u2u_help()

Other wraps: basics_help(), dp(), dt(), gg_help(), rd_help(), tb_help()

Examples

sent1 <- "First sentence."
sent2 <- "Second sentence."
sent12 <- paste0(sent1, "\n", sent2)
strh(sent1)
strh(sent2)
strh(sent12)
strw(sent1)
strw(sent2)
strw(sent12)

j-martineau/uj documentation built on Sept. 14, 2024, 4:40 a.m.