The complexity, volume, and importance of time series data across various research domains highlight the necessity for tools that can efficiently analyze, visualize, and extract insights. Cosinor modeling is a widely used methodology to estimate or compare rhythmic characteristics in time series datasets. Time series are widely used in biomedical and clinical research studies, with a large amount of research focusing on circadian rhythms in physiology and their relationship to health outcomes. However, existing software for cosinor modeling fails to effectively equip researchers to analyze their data, often due to the hierarchical structure of the data (e.g., repeated measures over time) or non-Gaussian response variables being modeled. Here, we present GLMMcosinor, an R package for fitting the cosinor model to rhythmic time series, using a Generalized Linear Mixed Modeling framework (glmmTMB). This software extends cosinor modeling to non-Gaussian and hierarchical data due to the flexibility offered by glmmTMB. It offers multiple additional features unavailable in other cosinor modeling packages that use the linearized cosinor model or circacompare (which we previously developed), which uses nonlinear regression. GLMMcosinor includes several additional features to interpret, test, and visualize the produced models and can fit models with multiple cosinor components. A detailed description of the use of GLMMcosinor is available within the package's online documentation and vignettes. The GLMMcosinor R package is available from GitHub (https://github.com/ropensci/GLMMcosinor), CRAN, rOpenSci, and the R-universe. A shiny app is also available and can fit and visualize a model with GLMMcosinor without having to write R code (https://github.com/RWParsons/GLMMcosinor-shinyapp).