vec_ptype2.palette: Palette Coercion

View source: R/coerce.R

vec_ptype2.paletteR Documentation

Palette Coercion

Description

Coercion methods for vctrs::vec_ptype2()

Usage

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

Arguments

x, y

Vector types.

...

These dots are for future extensions and must be empty.

Value

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


palette documentation built on Sept. 13, 2025, 9:08 a.m.