Skip to content

cosinor

1.2.3Package record

Tools for Estimating and Predicting the Cosinor Model

3packages dependsuggested by 3
150.6Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Michael Sachs <sachsmc@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Michael",
                    family = "Sachs",
                    role = c("aut", "cre"),
                    email = "sachsmc@gmail.com")
as necessary.

CRAN check page ↗

Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.2.3
READMEYes · 640 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
15
Examples that run
88%7 run in a plain check · 1 never run
Exported functions with examples
71%
Documented parameters
100%
Return-value docs
0%
Help pages citing references
7%
Vignettes (1)

Downloads

150.6K
CRAN downloads in the past year
Rank #3,180 · ~412/day · ~12.5K/mo
Daily download trend is not available in this view yet.
1.5K30 days
3.8K90 days
150.6K1 year
Compare downloads with other packages →
Also on261 r2u6 autocran992 conda_forge61 c2d4u

Repository

7Stars
2Forks
4Open issues
0Open PRs
2Releases
26Commits
1Commit identities
26 commits · Last activity 2022-05-24 · 0% stars, 30d · The default branch showed an older version (1.2.1) than CRAN on 2026-10-25
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
29
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-06-12 · 62026-07-18 · 7
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/sachsmc/cosinor on 2026-10-25.

Docs source (1)
README.Rmd
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing cosinor adds 41 packages (23 with compiled code, 37 MB of source tarballs). Heaviest: ggplot2 6.0 MB, bslib 5.6 MB, promises 3.1 MB.

Depends (1)
R >= 2.11.0
Imports (2)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
3direct
2indirect
Depends 1 · Imports 2
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (from the free-text Author field) (1)

Maintainer since 1.0 (2014)

Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.3Latest
    record
    2023-03-21 · current release · diff ↗ ·
    removed 1 export
    ggplot.cosinor.lm
    added 1 export
    ggplot_cosinor.lm
  • 1.2.2
    record
    2022-05-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.1
    record
    2014-07-28 · diff ↗ ·
    added 2 exports
    cosinor_analyzer, update_covnames
  • 1.0
    record
    2014-07-25
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-07-25
Total releases
4 / 12 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.11.0
Bundled data
2.9 KB / 1 file
Download size
48 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cosinor")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cosinor version 1.2.3 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy