vec_cast.palette {palette} | R Documentation |
Palette Casting
Description
Dispatch methods for vctrs::vec_cast()
Usage
## S3 method for class 'palette'
vec_cast(x, to, ...)
Arguments
x |
Vectors to cast. |
to |
Type to cast to. If |
... |
For |
Value
a vector of the same length, as class palette
if convertible, otherwise character
[Package palette version 0.0.2 Index]