Learn R Programming

season

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 analysis
  • nscosinor to estimate non-stationary seasonal patterns using the Kalman filter
  • nonlintest for a time domain test of non-linearity

Copy Link

Version

Install

install.packages('season')

Monthly Downloads

458

Version

0.3.15

License

GPL (>= 3)

Maintainer

Adrian Barnett

Last Published

March 21st, 2022

Functions in season (0.3.15)

nochars

Remove Letters and Characters from a String
createAdj

Creates an Adjacency Matrix
peri

Periodogram
exercise

Exercise Data from Queensland, 2005--2007
sinusoid

Plot a Sinusoid
seasrescheck

Seasonal Residual Checks
CVD

Cardiovascular Deaths in Los Angeles, 1987--2000
AFL

Australian Football League (AFL) Players' Birthdays for the 2009 Season
plotCircular

Circular Plot Using Segments
stillbirth

Stillbirths in Queensland, 1998--2000
wtest

Walter and Elwood's Test of Seasonality
plot.Monthmean

Plot of Monthly Mean Estimates
print.summary.Cosinor

printing a summary of a Cosinor
invyrfraction

Inverse Fraction of the Year or Hour
summary.nsCosinor

Summary for a Non-stationary Cosinor
flagleap

Count the Number of Days in the Month
yrfraction

Fraction of the Year
print.nsCosinor

Print the Results of a Non-stationary Cosinor
print.nonlintest

Print the Results of the Non-linear Test
indoor

Indoor Temperature Data
plotMonth

Plot Results by Month
schz

Schizophrenia Births in Australia, 1930--1971
phasecalc

Phase from Cosinor Estimates
print.monthglm

Print monthglm
print.casecross

Print the Results of a Case-Crossover Model
print.Monthmean

Print the Results from Monthmean
kalfil

Forward and Backward Sweep of the Kalman Filter
plot.nsCosinor

Plot the Results of a Non-stationary Cosinor
third

Third-order Moment
plotCircle

Circular Plot
print.summary.monthglm

printing a summary of a month.glm
season-package

season: Tools for Uncovering and Estimating Seasonal Patterns.
casecross

Case--crossover Analysis to Control for Seasonality
nscosinor

Non-stationary Cosinor
plot.Cosinor

Plot the Results of a Cosinor
monthglm

Fit a GLM with Month
monthmean

Monthly Means
aaft

Amplitude Adjusted Fourier Transform (AAFT)
print.Cosinor

Print the Results of a Cosinor
CVDdaily

Daily Cardiovascular Deaths in Los Angeles, 1987--2000
ciPhase

Mean and Confidence Interval for Circular Phase
rinvgamma

Random Inverse Gamma Distribution
summary.Cosinor

Summary for a Cosinor
plot.monthglm

Plot of Monthly Estimates
plot.nonlintest

Plot the Results of the Non-linear Test
nscosinor.initial

Initial Values for Non-stationary Cosinor
print.summary.nscosinor

printing a summary of an nscosinor
summary.monthglm

Summary for a Monthglm
summary.casecross

Summary of the Results of a Case-crossover Model
cipolygon

Function to Draw CI Polygon
cosinor

Cosinor Regression Model for Detecting Seasonality in Yearly Data or Circadian Patterns in Hourly Data
nonlintest

Test of Non-linearity of a Time Series