Last chance! 50% off unlimited learning
Sale ends in
stri_prepare_arg_double(x)
x
is a factor, as.character
is called, and the
resulting character vector is coerced to numeric.
If it is a numeric vector, then it is returned with no change.
If atomic vector or a matrix is given, it is coerced to a numeric vector.
Otherwise the function throws an error.stri_prepare_arg_double_1
;
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
;
stri_prepare_arg_string
;
stringi-arguments