vector_construct {datapasta} | R Documentation |
vector_construct
Description
Returns a formatted character string, either from clipboard or supplied argument, as a vector definition. Considers ',', 'tab', 'newline' as delimiters. If a single character string is passed as an argument, it will be split to form a vector.
Usage
vector_construct(input_vector, oc = console_context())
Arguments
input_vector |
An input vector to be formatted for output. If supplied, no data is read from the clipboard. |
oc |
an optional output context that defines the output indentation. |
Value
A string containing the input formatted as a vector definition.
[Package datapasta version 3.1.0 Index]