Learn R Programming

palette (version 0.0.2)

vec_ptype2.palette: Palette Coercion

Description

Coercion methods for vctrs::vec_ptype2()

Usage

# S3 method for palette
vec_ptype2(x, y, ...)

Value

a vector of the same length, as class palette if convertible, otherwise character

Arguments

x, y

Vector types.

...

These dots are for future extensions and must be empty.