Learn R Programming

incidence2 (version 2.2.3)

as_incidence: Coerce to an incidence object

Description

Generic for coercion to an <incidence2> object.

Usage

as_incidence(x, ...)

# S3 method for default as_incidence(x, ...)

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

Value

An <incidence2> object.

Arguments

x

An R object.

...

Additional arguments to be passed to or from other methods.