vec_ptype2.dvec.double {yamlet}R Documentation

Find Common Type for dvec, double

Description

Find common type for dvec, double.

Find common type for dvec, double.

Usage

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

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

Arguments

x

dvec

y

double

...

ignored

Examples

str(vctrs::vec_ptype2(as_dvec(1), 1))
str(vctrs::vec_ptype2(1, as_dvec(1)))

str(vctrs::vec_ptype2(as_dvec(1, label = 'x'), 1))
str(vctrs::vec_ptype2(1, as_dvec(1, label= 'x')))
str(vctrs::vec_ptype2(as_dvec(1), structure(1, label = 'x')))

str(vctrs::vec_ptype2(as_dvec(1), 1))
str(vctrs::vec_ptype2(1, as_dvec(1)))

str(vctrs::vec_ptype2(as_dvec(1, label = 'x'), 1))
str(vctrs::vec_ptype2(1, as_dvec(1, label= 'x')))
str(vctrs::vec_ptype2(as_dvec(1), structure(1, label = 'x')))


[Package yamlet version 1.2.5 Index]