These functions implement compatibility with vctrs-package for rvar
s.
# S3 method for rvar vec_ptype2(x, y, ...) # S3 method for default vec_ptype2.rvar(x, y, ..., x_arg = "x", y_arg = "y") # S3 method for rvar vec_cast(x, to, ...) # S3 method for default vec_cast.rvar(x, to, ...) # S3 method for rvar vec_ptype2.rvar(x, y, ...) # S3 method for rvar vec_cast.rvar(x, to, ...) # S3 method for rvar vec_ptype2.double(x, y, ...) # S3 method for double vec_ptype2.rvar(x, y, ...) # S3 method for double vec_cast.rvar(x, to, ...) # S3 method for rvar vec_ptype2.integer(x, y, ...) # S3 method for integer vec_ptype2.rvar(x, y, ...) # S3 method for integer vec_cast.rvar(x, to, ...) # S3 method for rvar vec_ptype2.logical(x, y, ...) # S3 method for logical vec_ptype2.rvar(x, y, ...) # S3 method for logical vec_cast.rvar(x, to, ...)
x, y | Vectors. |
---|---|
... | Further arguments passed to other functions. |
x_arg, y_arg | Argument names for |
to | Type to cast to. |
See the corresponding functions in vctrs-package for more information,
or vignette("s3-vector", package = "vctrs")
for examples.