torkar / docker-b3

Docker accompanying paper on BDA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DOI

docker-b3

Docker image accompanying a paper on Bayesian data analysis.

Install Docker, give it plenty of RAM/CPU and run:

docker run -d -p 8787:8787 -v "`pwd`":/home/rstudio/working -e PASSWORD="YOUR_PASSWORD" -e ROOT=TRUE torkar/docker-b3

then fire up the browser and point it to localhost:8787 and use rstudio as username and the password your set above.

Note: Exchange YOUR_PASSWORD to a password for you.

Project structure

. 
+-- pdfs/                      # Files used to collect data from practitioners.
+-- doc/                       # Material for the analysis described in the paper.
|   +-- datasets/              # Files with CSV data.
|   +-- markdown_resourses/    # Resources for the RMarkdown source, i.e., bib/css.
|   +-- index.R                # Implementation exported from the RMarkdown file.
|   +-- index.html             # HTML report generated from the RMarkdown file.
|   +-- index.Rmd              # RMarkdown source.
|
+-- validation/                # BDA scripts for our validation.
+-- brms.R                     # Running an analysis with additional models.
+-- pt_1.1.tar.gz              # Package used for the prospective theory calculations.

Where to start?

If you are interested in ...

  • The code for our analysis, read the index.html file or check it out online.
  • Checking and changing our code, open index.Rmd (or index.R for pure R). We recommend creating an R Studio project.
  • Exploring other models and getting more details on the BDA workflow, open brms.R.

About

Docker accompanying paper on BDA

License:MIT License


Languages

Language:R 97.1%Language:Dockerfile 2.9%