GLMMcosinor
0.2.1Fit a Cosinor Model Using a Generalized Mixed Modeling Framework
Overview
Allows users to fit a cosinor model using the 'glmmTMB' framework. This extends on existing cosinor modeling packages, including 'cosinor' and 'circacompare', by including a wide range of available link functions and the capability to fit mixed models. The cosinor model is described by Cornelissen (2014) doi:10.1186/1742-4682-11-16.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-1314 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-3013 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 89%
- References docs
- 5%
Downloads
Repository
Stars over time
Releases over time
Issues over time
PRs over time
Repository practices
8 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/ropensci/glmmcosinor on 2026-07-19.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 76 max
- Test cases
- 28 / 1.76 per code line
Test coverage
Line coverage
94%
Expression
92.1%
Tests / Examples
94.4% / – ex
Functions
29 8 exported
Complexity
9.5 avg / 76 max
Call network
29 nodes / 19 edges
Call graph
Open call graph →Lowest coverage
29 functions| Function | Cyclo | Coverage |
|---|---|---|
| fit_model_and_process exp | 2 | 0% |
| sigma.cglmm | 1 | 0% |
| .print_details | 4 | 56% |
| print.cglmmSubTest | 3 | 63% |
| validate_ci_level | 3 | 67% |
| predict.cglmm | 2 | 86% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| cosinor_mixed | data.frame | 150 × 3 | – |
| vitamind | data.frame | 200 × 3 | – |
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.2.1Latest
- RR 4.4.0 released · 2024-04-24
- 0.2.02024-01-11
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-11
- Total releases
- 2 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 6.1 KB / 2 files
- Download size
- 2.1 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet