Description Usage Arguments Value See Also
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.
1 |
x |
argument to be checked |
If x
is a string, it is returned with no change. If
it is a factor, then as.character
is called.
If an atomic vector or a matrix is given, it is coerced to
a character vector. If it is a name
object, a
character vector of length 1 is generated. Otherwise the
function throws an error.
Other prepare_arg: stri_prepare_arg_double_1
;
stri_prepare_arg_double
;
stri_prepare_arg_integer_1
;
stri_prepare_arg_integer
;
stri_prepare_arg_logical_1
;
stri_prepare_arg_logical
;
stri_prepare_arg_raw
;
stri_prepare_arg_string_1
;
stringi-arguments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.