Learn R Programming

epigrowthfit (version 0.15.4)

nobs.egf: Extract the Number of Observations

Description

Returns the number of observations of disease incidence that were used in estimation of a model. This number excludes missing values and observations not belonging to a fitting window, which, despite being preserved in model objects, do not affect estimation.

Usage

# S3 method for egf
nobs(object, ...)

Value

An integer.

Arguments

object

an egf object.

...

unused optional arguments.

See Also

The generic function nobs.