multilevelcoda
multilevelcoda R package for Bayesian multilevel compositional data analysis
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 10 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Keywords
Repository
multilevelcoda R package for Bayesian multilevel compositional data analysis
Basic Info
- Host: GitHub
- Owner: florale
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://florale.github.io/multilevelcoda/
- Size: 228 MB
Statistics
- Stars: 19
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 5
Topics
Metadata Files
README.md
multilevelcoda
Overview
This package provides functions to model compositional data in a multilevel framework using full Bayesian inference. It integrates the principes of Compositional Data Analysis (CoDA) and Multilevel Modelling and supports both compositional data as an outcome and predictors in a wide range of generalized (non-)linear multivariate multilevel models.
Installation
To install the latest release version from CRAN, run
```r install.packages("multilevelcoda")
```
The current developmental version can be downloaded from github via
r
if (!requireNamespace("remotes")) {
install.packages("remotes")
}
remotes::install_github("florale/multilevelcoda")
Because multilevelcoda is built on brms, which is based on Stan, a C++ compiler is required. The program Rtools (available on https://cran.r-project.org/bin/windows/Rtools/) comes with a C++ compiler for Windows. On Mac, Xcode is required. For further instructions on how to get the compilers running, see the prerequisites section on https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started.
Resources
You can learn about the package from these vignettes:
- Introduction to Compositional Multilevel Modelling
- Multilevel Models with Compositional Predictors
- Multilevel Models with Compositional Outcome
- Compositional Substitution Multilevel Analysis
Citing multilevelcoda and related software
When using multilevelcoda, please cite one or more of the following publications:
- Le, F., Stanford, T. E., Dumuid, D., & Wiley, J. F. (2025). Bayesian multilevel compositional data analysis: introduction, evaluation, and application. Psychological Methods. https://doi.org/10.1037/met0000750
- Le F., Dumuid D., Stanford T. E., Wiley J. F. (2024). Bayesian multilevel compositional data analysis with the R package multilevelcoda. arXiv preprint arXiv:2411.12407.
As multilevelcoda depends on brms and Stan, please also consider citing:
- Bürkner P. C. (2017). brms: An R Package for Bayesian Multilevel Models using Stan. Journal of Statistical Software. 80(1), 1-28. doi.org/10.18637/jss.v080.i01
- Bürkner P. C. (2018). Advanced Bayesian Multilevel Modeling with the R Package brms. The R Journal. 10(1), 395-411. doi.org/10.32614/RJ-2018-017
- Bürkner P. C. (2021). Bayesian Item Response Modeling in R with brms and Stan. Journal of Statistical Software, 100(5), 1-54. doi.org/10.18637/jss.v100.i05
- Stan Development Team. YEAR. Stan Modeling Language Users Guide and Reference Manual, VERSION. https://mc-stan.org
- Carpenter B., Gelman A., Hoffman M. D., Lee D., Goodrich B., Betancourt M., Brubaker M., Guo J., Li P., and Riddell A. (2017). Stan: A probabilistic programming language. Journal of Statistical Software. 76(1). doi.org/10.18637/jss.v076.i01
Owner
- Name: Flora
- Login: florale
- Kind: user
- Location: Melbourne, Australia
- Company: Monash University
- Repositories: 2
- Profile: https://github.com/florale
A psychology PhD student diving into the world of coding. Sometimes I drown, sometimes I float, and sometimes I find answers.
GitHub Events
Total
- Issues event: 3
- Watch event: 7
- Delete event: 1
- Issue comment event: 8
- Push event: 68
Last Year
- Issues event: 3
- Watch event: 7
- Delete event: 1
- Issue comment event: 8
- Push event: 68
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Flora Le | f****e@m****u | 535 |
| Joshua F. Wiley, Ph.D | j****h@g****m | 27 |
| Paul-Christian Bürkner | p****r@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 5
- Total pull requests: 1
- Average time to close issues: 3 months
- Average time to close pull requests: 5 days
- Total issue authors: 4
- Total pull request authors: 1
- Average comments per issue: 3.2
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 6.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- LonelyHunter2 (2)
- barracuda156 (1)
- evasqin (1)
- margauxw (1)
Pull Request Authors
- paul-buerkner (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 520 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 10
- Total maintainers: 1
cran.r-project.org: multilevelcoda
Estimate Bayesian Multilevel Models for Compositional Data
- Homepage: https://florale.github.io/multilevelcoda/
- Documentation: http://cran.r-project.org/web/packages/multilevelcoda/multilevelcoda.pdf
- License: GPL (≥ 3)
-
Latest release: 1.3.2
published 9 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 4.0.0 depends
- bayestestR * imports
- brms * imports
- compositions * imports
- cowplot * imports
- data.table >= 1.12.0 imports
- emmeans * imports
- extraoperators * imports
- foreach * imports
- ggplot2 * imports
- ggsci * imports
- insight * imports
- methods * imports
- reshape2 * imports
- stats * imports
- tidyr * imports
- zCompositions * imports
- covr * suggests
- doFuture * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
- withr * suggests
- actions/checkout v3 composite
- n1hility/cancel-previous-runs v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- n1hility/cancel-previous-runs v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v3 composite
- n1hility/cancel-previous-runs v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite