as_incidence: Coerce to an incidence object

View source: R/as_incidence.R

as_incidenceR Documentation

Coerce to an incidence object

Description

Generic for coercion to an ⁠<incidence2>⁠ object.

Usage

as_incidence(x, ...)

## Default S3 method:
as_incidence(x, ...)

## S3 method for class 'incidence2'
as_incidence(x, ...)

Arguments

x

An R object.

...

Additional arguments to be passed to or from other methods.

Value

An ⁠<incidence2>⁠ object.


incidence2 documentation built on Oct. 7, 2024, 1:07 a.m.