Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvuorre/bmlm
Bayesian multilevel mediation models in R
https://github.com/mvuorre/bmlm
bayesian-data-analysis cran multilevel-mediation-models r statistics
Last synced: about 17 hours ago
JSON representation
Bayesian multilevel mediation models in R
- Host: GitHub
- URL: https://github.com/mvuorre/bmlm
- Owner: mvuorre
- Created: 2016-06-25T21:53:39.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T08:19:14.000Z (2 months ago)
- Last Synced: 2025-01-20T22:57:49.684Z (6 days ago)
- Topics: bayesian-data-analysis, cran, multilevel-mediation-models, r, statistics
- Language: TeX
- Homepage: https://mvuorre.github.io/bmlm
- Size: 136 MB
- Stars: 42
- Watchers: 6
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
title: "bmlm: R package for Bayesian multilevel mediation"
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# bmlm
[![CRAN version](https://www.r-pkg.org/badges/version/bmlm)](https://www.r-pkg.org/pkg/bmlm)
[![download-badge](https://cranlogs.r-pkg.org/badges/bmlm)](https://cran.r-project.org/package=bmlm)**bmlm** is an R package providing convenient methods for Bayesian estimation of multilevel mediation models using [Stan](https://mc-stan.org/).
The package's source code is hosted on [GitHub](https://github.com/mvuorre/bmlm/). More information can be found on the [bmlm's website](https://mvuorre.github.io/bmlm/).
# Install
## Requirements
Please ensure you have the latest version of R installed. Windows users may need to install RTools, and OS X users may need to install XCode (see .
## Install from CRAN
To install the latest stable version of bmlm from CRAN, run
```r
install.packages("bmlm")
```## Install from GitHub
Sometimes the stable version on CRAN is not the latest version of bmlm. bmlm is developed on GitHub, and users may obtain the latest (development) version from GitHub directly.
The latest development version of bmlm requires [remotes](https://cran.r-project.org/package=remotes) for installation. If you don't have the remotes package installed in R, first run this line:
```r
install.packages("remotes")
```Then proceed to install bmlm from GitHub:
```r
remotes::install_github("mvuorre/bmlm")
```# Information
Please contact the author of the package for questions and suggestions. I recommend creating a new issue on GitHub.
# Citation
If you use this software, please cite it:
```{r}
citation("bmlm")
```