Learn R Programming

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

cosinor (version 1.1)

Tools for estimating and predicting the cosinor model

Description

cosinor is 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.

Copy Link

Version

Install

install.packages('cosinor')

Monthly Downloads

3,284

Version

1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Sachs

Last Published

July 28th, 2014

Functions in cosinor (1.1)

simulate_cosinor

Simulate data from a cosinor model
print.summary.cosinor.lm

Print the summary of a cosinor model
get_varnames

Extract variable names from terms object, handling specials
cosinor_analyzer

Shiny application to demonstrate cosinor fit
cosinor.lm

Fit cosinor model
print.test_cosinor

Print results of test of cosinor model
print.test

Print test of model
update_covnames

Replace covariate names with descriptive text
test_cosinor

Test for differences in a cosinor model
print.cosinor.lm

Print cosinor model
ggplot.cosinor.lm

Plot a cosinor model
summary.cosinor.lm

Summarize a cosinor model
predict.cosinor.lm

Predict from a cosinor model
vitamind

Vitamin D
cosinor.lm.default

Fit cosinor model