Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vec_cast.hms

Casting


Description

Double dispatch methods to support vctrs::vec_cast().

Usage

## S3 method for class 'hms'
vec_cast(x, to, ...)

Arguments

x

Vectors to cast.

to

Type to cast to. If NULL, x will be returned as is.

...

For vec_cast_common(), vectors to cast. For vec_cast(), vec_cast_default(), and vec_restore(), these dots are only for future extensions and should be empty.


hms

Pretty Time of Day

v1.0.0
MIT + file LICENSE
Authors
Kirill Müller [aut, cre], R Consortium [fnd], RStudio [fnd]
Initial release
2021-01-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.