Skip to content

incidence2 1.2.0

Compare
Choose a tag to compare
@TimTaylor TimTaylor released this 07 Jul 16:21

New functions

  • new_incidence(): A minimal incidence constructor.
  • validate_incidence(): Check for internal consistency of incidence-like object.
  • build_incidence(): Allows you to construct an incidence object whilst specifying
    your own date grouping function.
  • format.incidence()

Deprecated functions

  • cumulate() will now give a deprecation error. We have removed the function
    to avoid users erroneously regressing against a cumulative count.

Bug fixes

  • Fixes bug in incidence() when dates were a character vector and the the
    default, daily, interval was specified.

Other updates

  • Now uses dplyr to handle list based columns (e.g. record-type objects from
    vctrs). For data.frames with only atomic columns, data.table is still used.
  • Printing and summaries of incidence objects have been improved to remove
    duplication in the overview section.