justify: Justify strings

Description Usage Arguments Value Author(s) Examples

Description

Justify strings

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  justify(x, ...)

  ## Default S3 method:
 justify(x, side = "left", add = 2,
    ...)

  ## S3 method for class 'matrix'
 justify(x, side = "left", add = 2, ...)

  ## S3 method for class 'data.frame'
 justify(x, side = "left", add = 2,
    ...)

Arguments

x

a vector, a matrix, or a data.frame

side

"left", "right" or "centre". Could be a vector or a matrix.

add

the minimum number of " " character to add. Default is 2

...

not used

Value

A character vector or matrix. All columns will have the same string length.

Author(s)

David Hajage dhajage@gmail.com

Examples

1

eusebe/markup documentation built on May 16, 2019, 9:35 a.m.