cjust: Applies center justification to my_string.

Description Usage Arguments Value

View source: R/annotation_control.R

Description

Adds filler characters to the left and right of my_string to have the text fill the line up total_char characters.

Usage

1
2
cjust(my_string, filler = " ", total_char = get_annotation_width(),
  pad = " ")

Arguments

my_string

String to be centereded

filler

String character to be used to space the text over.

total_char

Integer of how many characters the text should be when done.

Value

Centered text.


DanteBortone/housekeeping documentation built on April 20, 2020, 4:08 p.m.