stri_prepare_arg_integer_1: Prepare an Integer Vector Argument [Single Value] [internal]

Description Usage Arguments Value See Also

Description

This is an internal function. However, the interested user may play with it in order to get more insight on how stringi deals with its functions' arguments. See ‘Value’ section for details.

Usage

1

Arguments

x

argument to be checked

Value

In the first place, stri_prepare_arg_integer is called. On ab empty vector, an error is generated. If there are more than 1 elements, a warning is generated. A vector with one element (the first in x) is returned.

See Also

Other prepare_arg: stri_prepare_arg_double_1; stri_prepare_arg_double; stri_prepare_arg_integer; stri_prepare_arg_logical_1; stri_prepare_arg_logical; stri_prepare_arg_raw; stri_prepare_arg_string_1; stri_prepare_arg_string; stringi-arguments


stringi documentation built on May 2, 2019, 4:54 p.m.