Learn R Programming

states (version 0.3.2)

index_date: Index date

Description

Find the first day of the time intervals in which a set of dates fall

Usage

index_date(x, period)

Arguments

x

a base::Date() vector

period

a time period, e.g. "year" or "month"