Package: GLMMcosinor 0.2.0.9000

Rex Parsons

GLMMcosinor: Fit a Cosinor Model Using a Generalised Mixed Modelling Framework

Allows users to fit a cosinor model using the 'glmmTMB' framework. This extends on existing cosinor modelling 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>.

Authors:Rex Parsons [aut, cre], Oliver Jayasinghe [aut], Nicole White [aut], Oliver Rawashdeh [aut, fnd], Prasad Chunduri [ctb, fnd], Margaret Doyle [ctb], Michael Sachs [rev], Joaquin Cavieres [rev]

GLMMcosinor_0.2.0.9000.tar.gz
GLMMcosinor_0.2.0.9000.zip(r-4.5)GLMMcosinor_0.2.0.9000.zip(r-4.4)GLMMcosinor_0.2.0.9000.zip(r-4.3)
GLMMcosinor_0.2.0.9000.tgz(r-4.4-any)GLMMcosinor_0.2.0.9000.tgz(r-4.3-any)
GLMMcosinor_0.2.0.9000.tar.gz(r-4.5-noble)GLMMcosinor_0.2.0.9000.tar.gz(r-4.4-noble)
GLMMcosinor_0.2.0.9000.tgz(r-4.4-emscripten)GLMMcosinor_0.2.0.9000.tgz(r-4.3-emscripten)
GLMMcosinor.pdf |GLMMcosinor.html
GLMMcosinor/json (API)
NEWS

# Install 'GLMMcosinor' in R:
install.packages('GLMMcosinor', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/glmmcosinor/issues

Datasets:
  • cosinor_mixed - Cosinor_mixed dataset for cosinor modelling examples.
  • vitamind - Vitamin D dataset for cosinor modelling examples.

On CRAN:

11 exports 1 stars 1.96 score 45 dependencies 180 downloads

Last updated 4 months agofrom:be40dc8fca (on main)

Exports:amp_acroautoplotcglmmcheckDepPackageVersionfit_model_and_processpolar_plotsigmasimulate_cosinortest_cosinor_componentstest_cosinor_levelsupdate_formula_and_data

Dependencies:assertthatbootclicolorspacecowplotcpp11fansifarverggforceggplot2glmmTMBgluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixmgcvminqamunsellnlmenloptrnumDerivpillarpkgconfigpolyclipR6RColorBrewerRcppRcppEigenrlangscalessystemfontstibbletidyselectTMBtweenrutf8vctrsviridisLitewithr

Simulating data

Rendered fromdata-simulations.Rmdusingknitr::rmarkdownon Jul 16 2024.

Last update: 2024-01-11
Started: 2023-02-08

GLMMcosinor

Rendered fromGLMMcosinor.Rmdusingknitr::rmarkdownon Jul 16 2024.

Last update: 2024-03-17
Started: 2023-02-08

Mixed models

Rendered frommixed-models.Rmdusingknitr::rmarkdownon Jul 16 2024.

Last update: 2024-01-11
Started: 2023-02-08

Model specification

Rendered frommodel-specification.Rmdusingknitr::rmarkdownon Jul 16 2024.

Last update: 2024-01-11
Started: 2023-02-08

Visualising models

Rendered frommodel-visualisations.Rmdusingknitr::rmarkdownon Jul 16 2024.

Last update: 2024-01-11
Started: 2023-02-08

Multicomponent cosinor modelling

Rendered frommultiple-components.Rmdusingknitr::rmarkdownon Jul 16 2024.

Last update: 2024-01-11
Started: 2023-02-08

Readme and manuals

Help Manual

Help pageTopics
Used to specify a cosinor component in the model formula.amp_acro
Plot a cosinor modelautoplot.cglmm
Fit cosinor model with '{glmmTMB}'cglmm
cosinor_mixed dataset for cosinor modelling examples.cosinor_mixed
Fit the cosinor GLMM model using the output from 'update_formula_and_data()' and a new formulafit_model_and_process
Generates a polar plot with elliptical confidence intervalspolar_plot
Generates a polar plot with elliptical confidence intervalspolar_plot.cglmm
Predict from a cosinor modelpredict.cglmm
Print a brief summary of the 'cglmm' model.print.cglmm
Print test of modelprint.cglmmSubTest
Print the summary of a cosinor modelprint.cglmmSummary
Print results of test of cosinor modelprint.cglmmTest
Extract residual standard deviation or dispersion parametersigma.cglmm
Simulate data from a cosinor modelsimulate_cosinor
Summarize a cosinor model Given a time variable and optional covariates, generate inference a cosinor fit. Gives estimates, confidence intervals, and tests for the raw parameters, and for the mean, amplitude, and acrophase parameters. If the model includes covariates, the function returns the estimates of the mean, amplitude, and acrophase for the group with covariates equal to 1 and equal to 0. This may not be the desired result for continuous covariates.summary.cglmm
Test for differences in a cosinor model between components.test_cosinor_components
Test for differences in a cosinor model between levels of the grouping variable.test_cosinor_levels
Update data and formula for fitting cglmm modelupdate_formula_and_data
Vitamin D dataset for cosinor modelling examples.vitamind