year-methods {surveillance}R Documentation

Methods for Function year

Description

Method to extract the corresponding year of each observation in an sts object. The year is calculated based on the start slot.

Methods

x = "sts"
For each time point in the x the corresponding year is determined and returned.

[Package surveillance version 1.1-2 Index]