grates1.3.0 package

Grouped Date Classes

as_epiweek

Coerce to a epiweek object

as_int_period

Coerce an object to an int_period (Experimental)

as_isoweek

Coerce to a isoweek object

as_month

Coerce an object to month

as_period

Coerce an object to period

as_year

Coerce an object to year-quarter

as_yearmonth

Coerce an object to year-month

as_yearquarter

Coerce an object to year-quarter

as_yearweek

Coerce to a yearweek object

boundaries

Access the start (end) dates of a grates vector

epiweek

Constructor for epiweek objects

grouped_date_accessors

Accessors for grate objects

isoweek

Constructor for isoweek objects

new_epiweek

Minimal constructor for an epiweek object

new_int_period

Minimal Constructor for an int_period object (Experimental)

new_isoweek

Minimal constructor for an isoweek object

new_month

Minimal Constructor for a month object

new_period

Minimal constructor for a period object

new_yearmonth

Minimal constructor for a yearmonth object

new_yearquarter

Minimal constructor for a yearquarter object

new_yearweek

Minimal constructor for a yearweek object

print.grates_int_period

Print an int_period object

print.grates_month

Print a month object

print.grates_period

Print a period object

print.grates_year

Print a year-quarter object

print.grates_yearmonth

Print a year-month object

print.grates_yearquarter

Print a year-quarter object

scale_x_grates_epiweek

epiweek scale

scale_x_grates_int_period

int_period scale (Experimental)

scale_x_grates_isoweek

isoweek scale

scale_x_grates_month

month scale

scale_x_grates_period

period scale

scale_x_grates_year

year scale

scale_x_grates_yearmonth

yearmonth scale

scale_x_grates_yearquarter

yearquarter scale

scale_x_grates_yearweek

yearweek scale

year

Construct a year object

yearmonth

Constructor for yearmonth objects

yearquarter

Constructor for yearquarter objects

yearweek

Constructor for yearweek objects

Provides a coherent interface and implementation for creating grouped date classes. This package is part of the RECON (<https://www.repidemicsconsortium.org/>) toolkit for outbreak analysis.

  • Maintainer: Tim Taylor
  • License: MIT + file LICENSE
  • Last published: 2024-11-20