Learn R Programming

parttime (version 0.1.2)

vec_cast.timespan.double: Cast an array to a timespan

Description

Cast an array to a timespan

Usage

# S3 method for timespan.double
vec_cast(x, to, ...)

Value

A partial_timespan vector

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.