Learn R Programming

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

season (version 0.2-6)

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. Thanks to Yuming Guo for checking the case-crossover code.

Copy Link

Version

Install

install.packages('season')

Monthly Downloads

397

Version

0.2-6

License

GPL (>= 3)

Maintainer

Adrian Barnett

Last Published

November 2nd, 2011

Functions in season (0.2-6)

cipolygon-internal

Function to draw CI polygon
CVDdaily

Daily cardiovascular deaths in Los Angeles, 1987--2000
CVD

Cardiovascular deaths in Los Angeles, 1987--2000
plotMonth

Plot results by month
schz

Schizophrenia births in Australia, 1930--1971
flagleap

Count the number of days in the month
print.Cosinor

Print the results of a cosinor
cosinor

Cosinor regression model for detecting seasonality
exercise

Exercise data from Queensland, 2005--2007
print.nsCosinor

Print the results of a Non-stationary cosinor
phasecalc

Phase from cosinor estimates
monthglm

Fit a GLM with month
kalfil-internal

Forward and backward sweep of the Kalman filter
ciPhase

Mean and confidence interval for circular phase
AFL

Australian Football League (AFL) players' birthdays for the 2009 season
nscosinor

Non-stationary cosinor
plot.monthglm

Plot of monthly estimates
rinvgamma-internal

Random inverse gamma distribution
invyrfraction

Inverse fraction of the year
print.casecross

Print the results of a case-crossover model
casecross

Case--crossover analysis to control for seasonality
createAdj

Creates an adjacency matrix
nochars-internal

Remove letters and characters from a string
summary.nsCosinor

Summary for a Non-stationary cosinor
plot.Cosinor

Plot the results of a cosinor
wtest

Walter and Elwood's test of seasonality
plot.nsCosinor

Plot the results of a Non-stationary cosinor
monthmean

Monthly means
season-internal

Internal Season Functions
stillbirth

Stillbirths in Queensland, 1998--2000
plotCircle

Circular plot
plotCircular

Circular plot using segments
sinusoid

Plot a sinusoid
yrfraction

Fraction of the year
print.Monthmean

Print the results from monthmean
summary.casecross

Summary of the results of a case-crossover model
seasrescheck

Seasonal residual checks
summary.monthglm

Summary for a monthglm
summary.Cosinor

Summary for a cosinor
season-package

Tools for uncovering and estimating seasonal patterns.
peri

Periodogram