as_incidence: Coerce to an incidence object

View source: R/coercion.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 July 9, 2023, 5:35 p.m.