Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mvuorre/funky-firefly

Manuscript on estimating latent means models with R & brms
https://github.com/mvuorre/funky-firefly

brms psychology r statistics

Last synced: 10 days ago
JSON representation

Manuscript on estimating latent means models with R & brms

Awesome Lists containing this project

README

        

# Introduction to latent means models in R

Repository for our manuscript discussing an [R](https://cran.r-project.org/) and [brms](https://cran.r-project.org/web/packages/brms/) implementation of latent mean centering in multilevel models of longitudinal psychological data.

- Repo on GitHub:
- Archived repo: tbd
- Online: tbd
- preprint: tbd

## Reproduce

To reproduce, download our materials, restore the R environment (renv) and knit `ms.Rmd`.

In terminal:

``` bash
# Download materials
git clone https://github.com/mvuorre/funky-firefly.git

# Enter directory
cd funky-firefly

# (Optional) modify .Renviron.example & rename it to .Renviron

# Run code and produce outputs
make
```

## Contribute

Contributions preferably via pull requests. You can also grab the rendered manuscript (Word, PDF) from the latest [release](https://github.com/mvuorre/latent-mean-centering-ms/releases) for comments & edits.