nobs.egf: Extract the Number of Observations

View source: R/extract.R

nobs.egfR Documentation

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 class 'egf'
nobs(object, ...)

Arguments

object

an egf object.

...

unused optional arguments.

Value

An integer.

See Also

The generic function nobs.


epigrowthfit documentation built on April 3, 2025, 10:51 p.m.