Tools for Estimating and Predicting the Cosinor Model
Fit cosinor model
Fit cosinor model
Shiny application to demonstrate cosinor fit
Extract variable names from terms object, handling specials
Plot a cosinor model
Predict from a cosinor model
Print cosinor model
Print the summary of a cosinor model
Print test of model
Print results of test of cosinor model
Simulate data from a cosinor model
Summarize a cosinor model
Test for differences in a cosinor model
Replace covariate names with descriptive text
A set of simple functions that transforms longitudinal data to estimate the cosinor linear model as described in Tong (1976). Methods are given to summarize the mean, amplitude and acrophase, to predict the mean annual outcome value, and to test the coefficients.