Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: springer.com -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.6%) to scientific vocabulary
Keywords
brms
life-sciences
mc-stan
mmrm
r
stan
statistics
Last synced: 5 months ago
·
JSON representation
Repository
R package to run Bayesian MMRMs using {brms}
Basic Info
- Host: GitHub
- Owner: openpharma
- License: other
- Language: R
- Default Branch: main
- Homepage: https://openpharma.github.io/brms.mmrm/
- Size: 15.9 MB
Statistics
- Stars: 22
- Watchers: 6
- Forks: 2
- Open Issues: 1
- Releases: 6
Topics
brms
life-sciences
mc-stan
mmrm
r
stan
statistics
Created almost 3 years ago
· Last pushed 7 months ago
Metadata Files
Readme
Contributing
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# brms.mmrm
[](https://CRAN.R-project.org/package=brms.mmrm)
[](https://www.repostatus.org/#active)
[](https://github.com/openpharma/brms.mmrm/actions?query=workflow%3Acheck)
[](https://github.com/openpharma/brms.mmrm/actions?query=workflow%3Acover)
[](https://github.com/openpharma/brms.mmrm/actions?query=workflow%3Alint)
The [mixed model for repeated measures (MMRM)](https://link.springer.com/article/10.1177/009286150804200402) is a popular model for longitudinal clinical trial data with continuous endpoints, and [`brms`](https://paulbuerkner.com/brms/) is powerful and versatile package for fitting Bayesian regression models. The `brms.mmrm` R package leverages [`brms`](https://paulbuerkner.com/brms/) to run [MMRMs](https://link.springer.com/article/10.1177/009286150804200402), and it supports a simplified interface to reduce difficulty and align with best practices for the life sciences.
## Installation
Type | Source | Command
---|---|---
Release | CRAN | `install.packages("brms.mmrm")`
Development | GitHub | `remotes::install_github("openpharma/brms.mmrm")`
Development | openpharma | `install.packages("brms.mmrm", repos = "https://openpharma.r-universe.dev")`
## Documentation
The documentation website at has a complete function reference and tutorial vignettes.
## Validation
To ensure the correctness of the model and its implementation, this package has been validated using simulation-based calibration and comparisons against the frequentist [`mmrm`](https://openpharma.github.io/mmrm/latest-tag/) package on two example datasets. The analyses and results are described in the package vignettes linked below:
* [Simulation-based calibration](https://openpharma.github.io/brms.mmrm/articles/sbc.html)
* [FEV1 data comparison between Bayesian and frequentist MMRMs](https://openpharma.github.io/brms.mmrm/articles/fev1.html).
* [BCVA data comparison between Bayesian and frequentist MMRMs](https://openpharma.github.io/brms.mmrm/articles/bcva.html).
Notably, [FEV1](https://openpharma.github.io/mmrm/latest-tag/reference/fev_data.html) and [BCVA](https://openpharma.github.io/mmrm/latest-tag/reference/bcva_data.html) are the same datasets that [`mmrm`](https://openpharma.github.io/mmrm/latest-tag/) uses to compare itself against SAS in [this vignette](https://openpharma.github.io/mmrm/latest-tag/articles/mmrm_review_methods.html). For additional validation in your functional area or domain of expertise, you may choose to run similar analyses on your own datasets to compare `brms.mmrm` against [`mmrm`](https://openpharma.github.io/mmrm/latest-tag/) and/or SAS.
## Help
Please report questions and problems as [GitHub discussions](https://github.com/openpharma/brms.mmrm) and [GitHub issues](https://github.com/openpharma/brms.mmrm), respectively.
## Thanks
Thanks to the [`openstatsware`](https://www.openstatsware.org/) and [R Consortium](https://r-consortium.org/) for providing professional networks to recruit skilled statisticians and developers.
## Code of conduct
Please note that the brms.mmrm project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
## Citation
```{r, warning = FALSE, comment = NA_character_, echo = FALSE}
x <- packageDescription("brms.mmrm")
x$URL <- "https://github.com/openpharma/brms.mmrm"
citation(package = "brms.mmrm", auto = x)
```
## References
* Paul-Christian Bürkner (2017). brms: An R Package for Bayesian
Multilevel Models Using Stan.
Journal of Statistical Software, 80(1), 1-28.
* Mallinckrodt, C.H., Lane, P.W., Schnell, D. et al.
Recommendations for the Primary Analysis of Continuous Endpoints
in Longitudinal Clinical Trials.
Ther Innov Regul Sci 42, 303–319 (2008).
* Holzhauer, B., and Weber, S. (2024), "Bayesian mixed effects model for repeated measures," in Applied Modeling in Drug Development, Novartis AG. .
Owner
- Name: openpharma
- Login: openpharma
- Kind: organization
- Website: openpharma.github.io
- Repositories: 30
- Profile: https://github.com/openpharma
Further precompetitive collaboration in life sciences
GitHub Events
Total
- Issues event: 3
- Watch event: 5
- Issue comment event: 4
- Push event: 4
- Pull request event: 2
Last Year
- Issues event: 3
- Watch event: 5
- Issue comment event: 4
- Push event: 4
- Pull request event: 2
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 105
- Total pull requests: 72
- Average time to close issues: about 2 months
- Average time to close pull requests: 2 days
- Total issue authors: 5
- Total pull request authors: 4
- Average comments per issue: 5.28
- Average comments per pull request: 1.1
- Merged pull requests: 72
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 40
- Pull requests: 40
- Average time to close issues: 13 days
- Average time to close pull requests: 4 days
- Issue authors: 3
- Pull request authors: 3
- Average comments per issue: 2.75
- Average comments per pull request: 1.7
- Merged pull requests: 40
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- wlandau (52)
- chstock (7)
- kkmann (3)
- andrew-bean (1)
- ddsjoberg (1)
Pull Request Authors
- wlandau (50)
- chstock (2)
- kylehamilton (2)
- wlandau-lilly (1)
Top Labels
Issue Labels
order: 1 (14)
order: sooner (10)
topic: documentation (9)
order: 2 (6)
order: 3 (4)
type: new feature (4)
status: priority (4)
topic: design (3)
order: 4 (2)
type: backup idea (2)
type: question (1)
type: bug (1)
topic: style (1)
order: 5 (1)
order: later (1)
Pull Request Labels
order: 1 (2)
order: 2 (2)
topic: documentation (1)
topic: style (1)
Packages
- Total packages: 1
-
Total downloads:
- cran 586 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 6
- Total maintainers: 1
cran.r-project.org: brms.mmrm
Bayesian MMRMs using 'brms'
- Homepage: https://openpharma.github.io/brms.mmrm/
- Documentation: http://cran.r-project.org/web/packages/brms.mmrm/brms.mmrm.pdf
- License: MIT + file LICENSE
-
Latest release: 1.1.1
published over 1 year ago
Rankings
Stargazers count: 22.3%
Forks count: 28.3%
Dependent packages count: 28.3%
Dependent repos count: 36.9%
Average: 40.7%
Downloads: 87.9%
Maintainers (1)
Last synced:
6 months ago
Dependencies
.github/workflows/check.yaml
actions
- actions/checkout v3 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
.github/workflows/cover.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/lint.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- R >= 4.0.0 depends
- MASS * imports
- brms * imports
- coda * imports
- dplyr * imports
- emmeans >= 1.8.7 imports
- ggplot2 * imports
- ggridges * imports
- posterior * imports
- purrr * imports
- rlang * imports
- stats * imports
- tibble * imports
- tidyr * imports
- tidyselect * imports
- trialr * imports
- utils * imports
- zoo * imports
- BH * suggests
- Rcpp * suggests
- RcppEigen * suggests
- RcppParallel * suggests
- StanHeaders * suggests
- knitr >= 1.30 suggests
- markdown >= 1.1 suggests
- rmarkdown >= 2.4 suggests
- rstan * suggests
- testthat >= 3.0.0 suggests