CalculateDatesInYears: Calculate number of dates in years

Description Usage Arguments Value Examples

View source: R/dates_counters.R

Description

Calculates number of dates in every year in the given dates vector. Missing values are omitted. Duplicated dates are counted multiple times!

Usage

1

Arguments

dates

vector of dates

Value

data frame with columns: year (integer), date_count (integer)

Examples

1
CalculateDatesInYears(seq.Date(as.Date("2018-04-01"), as.Date("2018-06-19"), by = "1 day"))

bartekch/bchUtilities documentation built on May 7, 2019, 10:56 a.m.