make_c_call {teal.slice} | R Documentation |
Build concatenating call
Description
This function takes a vector of values and returns a c
call. If the vector
has only one element, the element is returned directly.
Usage
make_c_call(choices)
Arguments
choices |
A vector of values. |
Value
A c
call.
Examples
# use non-exported function from teal.slice
make_c_call <- getFromNamespace("make_c_call", "teal.slice")
make_c_call(1:3)
make_c_call(1)
[Package teal.slice version 0.5.1 Index]