Learn R Programming

linea (version 0.1.1)

first_last_dates: first_last_dates

Description

Check if a time-series is uniform

Usage

first_last_dates(date_values, date_type)

Value

list of first and last daily dates

Arguments

date_values

a date-type or numeric vector

date_type

The date column type as either of the following strings:'weekly starting','weekly ending','daily'

Details

Check if a time-series is uniform, where the step (e.g. days(1),weeks(7)) is consistent