season: Seasonal analysis of health data

Routines for the seasonal analysis of health data, including regression models, time-stratified case-crossover, plotting functions and residual checks. Thanks to Yuming Guo for checking the case-crossover code.

Author
Adrian Barnett <a.barnett@qut.edu.au>, Peter Baker <p.baker1@uq.edu.au>
Date of publication
2012-08-03 10:34:30
Maintainer
Adrian Barnett <a.barnett@qut.edu.au>
License
GPL (>= 3)
Version
0.3-2

View on R-Forge

Man pages

aaft
Amplitude Adjusted Fourier Transform (AAFT)
AFL
Australian Football League (AFL) players' birthdays for the...
casecross
Case-crossover analysis to control for seasonality
ciPhase
Mean and confidence interval for circular phase
cipolygon-internal
Function to draw CI polygon
cosinor
Cosinor regression model for detecting seasonality
createAdj
Creates an adjacency matrix
CVD
Cardiovascular deaths in Los Angeles, 1987-2000
CVDdaily
Daily cardiovascular deaths in Los Angeles, 1987-2000
exercise
Exercise data from Queensland, 2005-2007
flagleap-internal
Count the number of days in the month
invyrfraction
Inverse fraction of the year
kalfil-internal
Forward and backward sweep of the Kalman filter
monthglm
Fit a GLM with month
monthmean
Monthly means
nochars-internal
Remove letters and characters from a string
nonlintest
Test of non-linearity of a time series
nscosinor
Non-stationary cosinor
nscosinor.initial-internal
Initial values for non-stationary cosinor. For internal use...
peri
Periodogram
phasecalc
Phase from cosinor estimates
plotCircle
Circular plot
plotCircular
Circular plot using segments
plot.Cosinor
Plot the results of a cosinor
plotMonth
Plot results by month
plot.monthglm
Plot of monthly estimates
plot.nonlintest
Plot the results of the non-linear test
plot.nsCosinor
Plot the results of a Non-stationary cosinor
print.casecross
Print the results of a case-crossover model
print.Cosinor
Print the results of a cosinor
print.Monthmean
Print the results from monthmean
print.nonlintest
Print the results of the non-linear test
print.nsCosinor
Print the results of a Non-stationary cosinor
rinvgamma-internal
Random inverse gamma distribution
schz
Schizophrenia births in Australia, 1930-1971
season-internal
Internal Season Functions
season-package
Tools for uncovering and estimating seasonal patterns.
seasrescheck
Seasonal residual checks
sinusoid
Plot a sinusoid
stillbirth
Stillbirths in Queensland, 1998-2000
summary.casecross
Summary of the results of a case-crossover model
summary.Cosinor
Summary for a cosinor
summary.monthglm
Summary for a monthglm
summary.nsCosinor
Summary for a Non-stationary cosinor
third
Third-order moment
wtest
Walter and Elwood's test of seasonality
yrfraction
Fraction of the year

Files in this package

season
season/data
season/data/CVD.RData
season/data/exercise.RData
season/data/schz.RData
season/data/CVDdaily.RData
season/data/stillbirth.RData
season/data/AFL.RData
season/R
season/R/plot.nsCosinor.R
season/R/plotCircular.R
season/R/flagleap.R
season/R/casecross.R
season/R/aaft.R
season/R/third.R
season/R/createAdj.R
season/R/seasrescheck.R
season/R/print.Cosinor.R
season/R/summary.nsCosinor.R
season/R/plotCircle.R
season/R/nscosinor.R
season/R/print.summary.nsCosinor.R
season/R/print.nonlintest.R
season/R/summary.casecross.R
season/R/yrfraction.R
season/R/print.summary.Cosinor.R
season/R/peri.R
season/R/kalfil.R
season/R/plot.Cosinor.R
season/R/invyrfraction.R
season/R/wtest.R
season/R/print.Monthmean.R
season/R/plot.nonlintest.R
season/R/summary.Cosinor.R
season/R/nonlintest.R
season/R/ciPhase.R
season/R/print.nsCosinor.R
season/R/rinvgamma.R
season/R/phasecalc.R
season/R/monthmean.R
season/R/monthglm.R
season/R/nscosinor.initial.R
season/R/cipolygon.R
season/R/nochars.R
season/R/plotMonth.R
season/R/sinusoid.R
season/R/summary.monthglm.R
season/R/cosinor.R
season/R/print.casecross.R
season/R/print.summary.monthglm.R
season/R/plot.Monthmean.R
season/R/plot.monthglm.R
season/R/print.monthglm.R
season/NAMESPACE
season/inst
season/inst/CITATION
season/DESCRIPTION
season/man
season/man/print.nsCosinor.Rd
season/man/plot.monthglm.Rd
season/man/monthglm.Rd
season/man/print.nonlintest.Rd
season/man/stillbirth.Rd
season/man/seasrescheck.Rd
season/man/phasecalc.Rd
season/man/season-internal.Rd
season/man/third.Rd
season/man/print.Monthmean.Rd
season/man/print.Cosinor.Rd
season/man/CVD.Rd
season/man/wtest.Rd
season/man/plotMonth.Rd
season/man/nonlintest.Rd
season/man/invyrfraction.Rd
season/man/cosinor.Rd
season/man/yrfraction.Rd
season/man/monthmean.Rd
season/man/ciPhase.Rd
season/man/cipolygon-internal.Rd
season/man/summary.Cosinor.Rd
season/man/casecross.Rd
season/man/summary.casecross.Rd
season/man/plotCircular.Rd
season/man/flagleap-internal.Rd
season/man/print.casecross.Rd
season/man/peri.Rd
season/man/rinvgamma-internal.Rd
season/man/sinusoid.Rd
season/man/createAdj.Rd
season/man/kalfil-internal.Rd
season/man/plotCircle.Rd
season/man/summary.monthglm.Rd
season/man/nscosinor.Rd
season/man/nscosinor.initial-internal.Rd
season/man/AFL.Rd
season/man/schz.Rd
season/man/exercise.Rd
season/man/season-package.Rd
season/man/aaft.Rd
season/man/CVDdaily.Rd
season/man/plot.nonlintest.Rd
season/man/nochars-internal.Rd
season/man/summary.nsCosinor.Rd
season/man/plot.Cosinor.Rd
season/man/plot.nsCosinor.Rd