wrap_varnames | R Documentation |
chr
holding variable/column/other names, with prefix&indentLine wrap chr
holding variable/column/other names, with prefix&indent
wrap_varnames(
nms,
initial = "",
common_prefix = "",
none_str = "<none>",
width = getOption("width", 80L)
)
nms |
Character vector: the variable names (potentially empty) |
initial |
Optional; single string: a prefix for the initial line in the
result; e.g., "Variable names: ". Defaults to "". Any non-initial lines
will be indented with whitespace matching the (estimated) visual width of
|
common_prefix |
Optional; single string: a prefix for every line (will
appear before |
none_str |
Optional; single string: what to display when given
|
width |
Optional; single integer: desired maximum formatted line width.
The formatted output may not obey this setting if |
chr
; to print, use base::writeLines
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.