Learn R Programming

shide (version 0.2.1)

vec_cast.jdate: Cast an object to a jdate object

Description

Cast an object to a jdate object

Usage

# S3 method for jdate
vec_cast(x, to, ...)

Value

A vector of jdate objects.

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.

See Also

as_jdate is a convenience function that makes use of the casts that are defined for vec_cast.jdate() methods.