vec_to_date: Parse date from vector

Description Usage Arguments Details Value

View source: R/datetools.R

Description

Converts vectors like c(2021, 1, 16) into date objects. This is useful when arithmetics involving dates are required (for instance, calculating a time span).

Usage

1

Arguments

vec

A vector containing the date in the format c(year, month, day)

Details

This is an auxiliary function.

Value

A date object


RETURN-project/makeDataCube documentation built on Feb. 11, 2022, 3:04 p.m.