padding text to specified width
text_wrap default
text_pad(
string,
width = max(nchar(string)),
pad = " ",
side = c("left", "right", "both", "l", "r", "b", 1, 2, 3)
)# S3 method for default
text_pad(
string,
width = max(nchar(string)),
pad = " ",
side = c("left", "right", "both", "l", "r", "b", 1, 2, 3)
)
text to be wrapped
width text should have after padding; defaults to: max(nchar(string))
the character or character sequence to use for padding
one of: c("left", "right", "both", "l", "r", "b", 1, 2, 3)