Skip to content

cosinor

1.2.3

Tools for Estimating and Predicting the Cosinor Model

5packages depend
152.1Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Michael SachsFirst published 2014-07-254 releasesCRAN page ↗GitHub ↗

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
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.9 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 640 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
100%
Return-value docs
0%
References docs
7%

Downloads

152.1K
CRAN downloads in the past year
Rank #3,303 · ~417/day · ~12.7K/mo
Daily download trend is not available in this view yet.
1.5K30 days
3.7K90 days
152.1K1 year
Compare downloads with other packages →
Also on246 r2u20 autocran1.2K conda_forge29 c2d4u

Repository

Repository
7Stars
2Forks
4Open issues
0Open PRs
2Releases
26Commits
1Contributors
26 commits · Last activity 2022-05-24 · +16.7% stars, 30d

Stars over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/sachsmc/cosinor on 2026-07-19.

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

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.11.0
Imports (2)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
5direct
2indirect

Code & Tests

Code Composition
R 676 (62%)Rd 334 (31%)Vignettes 76 (7%)
Code characteristics
Object systems
S35
Cyclomatic complexity
2.0 median / 8 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

14 7 exported

Complexity

2.6 avg / 8 max

Call network

14 nodes / 6 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
vitaminddata.frame200 × 3

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 1.0 to 1.2.3
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 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
    2023-03-21 · current release · diff ↗
  • 1.2.2
    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
    2014-07-28 · diff ↗
  • 1.0
    2014-07-25
Show 1 earlier events
  • 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
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →