Bayesian multilevel mediation models in R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R Remove tab2doc() and ReporteRs from Suggests Jul 11, 2018
data Multiply HR in MEC2010 by 100 Feb 10, 2017
docs
exec
inst Bump version Sep 29, 2017
man
src Updates to stan headers Nov 7, 2018
tools Fix (harmless) error message about constructor Nov 21, 2017
vignettes Deprecate tab2doc() Jun 6, 2018
.Rbuildignore Vignettes are now pkgdown articles only. Sep 15, 2017
.gitignore Add options to spaghetti plots. Aug 7, 2017
DESCRIPTION Bump version Nov 7, 2018
NAMESPACE Fix NOTE about methods pkg Nov 7, 2018
NEWS.md Bump version Nov 7, 2018
README.Rmd Update pkgdown docs Dec 15, 2017
README.md Update pkgdown docs Dec 15, 2017
_pkgdown.yml Update online docs Mar 28, 2018
bmlm.Rproj Remove bad check argument Nov 21, 2017
cleanup remove call to roxygen2 Oct 16, 2018
cleanup.win remove call to roxygen2 Oct 16, 2018
cran-comments.md Update cran-comments Jul 11, 2018

README.md

bmlm: An R package for Bayesian MultiLevel Mediation models

bmlm

CRAN version download-badge

bmlm is an R package providing convenient methods for Bayesian estimation of multilevel mediation models using Stan.

The package’s source code is hosted on GitHub. More information can be found on the bmlm’s website.

Install

Requirements

Please ensure you have the latest version of R installed. Windows users may need to install RTools (more information on the RStan website), OS X users may need to install XCode (more information).

Install from CRAN

To install the latest stable version of bmlm from CRAN, run

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 devtools for installation. If you don’t have the devtools package installed in R, first run this line:

install.packages("devtools")

Then proceed to install bmlm from GitHub:

devtools::install_github("mvuorre/bmlm", args = "--preclean")

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:

citation("bmlm")
#> 
#> To cite package bmlm in publications, please use:
#> 
#>   Vuorre, M., (2017). bmlm: Bayesian Multilevel Mediation. R
#>   package version 1.3.4. https://cran.r-project.org/package=bmlm
#> 
#> A BibTeX entry for LaTeX users is
#> 
#>   @Manual{,
#>     title = {bmlm: Bayesian Multilevel Mediation},
#>     author = {Matti Vuorre},
#>     year = {2017},
#>     url = {https://cran.r-project.org/package=bmlm},
#>   }