Routines for the seasonal analysis of health data, including regression models, time-stratified case-crossover, plotting functions and residual checks, see Barnett and Dobson (2010) ISBN 978-3-642-10748-1. Thanks to Yuming Guo for checking the case-crossover code.
R package to run seasonal analyses in time series. For details see our book "Analysing Seasonal Health Data" (2010) https://www.springer.com/gp/book/9783642107474.
Useful functions are:
casecross for case-crossover analysisnscosinor to estimate non-stationary seasonal patterns using the Kalman filternonlintest for a time domain test of non-linearity