as_incidence {incidence2}R 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.


[Package incidence2 version 2.2.3 Index]