str_indent {mlr3misc} | R Documentation |
Indent Strings
Description
Formats a text block for printing.
Usage
str_indent(initial, str, width = 0.9 * getOption("width"), exdent = 2L, ...)
Arguments
initial |
( |
str |
( |
width |
( |
exdent |
( |
... |
( |
Value
(character()
).
Examples
cat(str_indent("Letters:", str_collapse(letters), width = 25), sep = "\n")
[Package mlr3misc version 0.15.1 Index]