Description Usage Arguments Value
These functions are the extensions that allow rray objects to work with vctrs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## S3 method for class 'vctrs_rray'
vec_arith(op, x, y)
## S3 method for class 'vctrs_rray_dbl'
vec_ptype2(x, y, ...)
## S3 method for class 'vctrs_rray_int'
vec_ptype2(x, y, ...)
## S3 method for class 'vctrs_rray_lgl'
vec_ptype2(x, y, ...)
## S3 method for class 'vctrs_rray_int'
vec_cast(x, to, ...)
## S3 method for class 'vctrs_rray_dbl'
vec_cast(x, to, ...)
## S3 method for class 'vctrs_rray_lgl'
vec_cast(x, to, ...)
|
op |
An arithmetic operator as a string. |
x, y |
Objects. |
... |
Used to pass along error message information. |
to |
Type to cast to. |
See the corresponding vctrs function for the exact return value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.