Learn R Programming

⚠️There's a newer version (0.3.16) of this package.Take me there.

season (version 0.3.8)

Seasonal Analysis of Health Data

Description

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.

Copy Link

Version

Install

install.packages('season')

Monthly Downloads

500

Version

0.3.8

License

GPL (>= 3)

Maintainer

Adrian Barnett

Last Published

September 10th, 2018

Functions in season (0.3.8)

nochars-internal

Remove Letters and Characters from a String
nonlintest

Test of Non-linearity of a Time Series
createAdj

Creates an Adjacency Matrix
monthglm

Fit a GLM with Month
peri

Periodogram
nscosinor

Non-stationary Cosinor
monthmean

Monthly Means
exercise

Exercise Data from Queensland, 2005--2007
cosinor

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

Phase from Cosinor Estimates
print.casecross

Print the Results of a Case-Crossover Model
kalfil-internal

Forward and Backward Sweep of the Kalman Filter
schz

Schizophrenia Births in Australia, 1930--1971
sinusoid

Plot a Sinusoid
season-internal

Internal Season Functions
stillbirth

Stillbirths in Queensland, 1998--2000
print.nonlintest

Print the Results of the Non-linear Test
aaft

Amplitude Adjusted Fourier Transform (AAFT)
plot.Cosinor

Plot the Results of a Cosinor
plot.Monthmean

Plot of Monthly Mean Estimates
plot.monthglm

Plot of Monthly Estimates
plot.nonlintest

Plot the Results of the Non-linear Test
yrfraction

Fraction of the Year
season-package

Tools for Uncovering and Estimating Seasonal Patterns.
nscosinor.initial-internal

Initial Values for Non-stationary Cosinor
print.nsCosinor

Print the Results of a Non-stationary Cosinor
flagleap

Count the Number of Days in the Month
plotCircular

Circular Plot Using Segments
seasrescheck

Seasonal Residual Checks
plotMonth

Plot Results by Month
rinvgamma-internal

Random Inverse Gamma Distribution
print.Cosinor

Print the Results of a Cosinor
indoor

Indoor Temperature Data
plot.nsCosinor

Plot the Results of a Non-stationary Cosinor
plotCircle

Circular Plot
summary.monthglm

Summary for a Monthglm
third

Third-order Moment
wtest

Walter and Elwood's Test of Seasonality
print.Monthmean

Print the Results from Monthmean
summary.nsCosinor

Summary for a Non-stationary Cosinor
summary.Cosinor

Summary for a Cosinor
summary.casecross

Summary of the Results of a Case-crossover Model
casecross

Case--crossover Analysis to Control for Seasonality
cipolygon-internal

Function to Draw CI Polygon
CVDdaily

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

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

Cardiovascular Deaths in Los Angeles, 1987--2000
invyrfraction

Inverse Fraction of the Year
ciPhase

Mean and Confidence Interval for Circular Phase