-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.Rmd
More file actions
39 lines (28 loc) · 769 Bytes
/
Copy pathrequirements.Rmd
File metadata and controls
39 lines (28 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: "Requirements"
output: html_notebook
---
```{r}
# installing RStan
remove.packages("rstan")
if (file.exists(".RData")) file.remove(".RData")
install.packages("rstan", repos = "https://cloud.r-project.org/", dependencies = TRUE) # nolint: line_length_linter.
options(mc.cores = parallel::detectCores())
rstan_options(auto_write = TRUE)
```
```{r}
# load packages required by the textbook
library(rstan)
library(bayesrules)
library(tidyverse)
library(janitor)
library(rstanarm)
library(bayesplot)
library(tidybayes)
library(broom.mixed)
library(modelr)
library(e1071)
library(forcats)
```
### References
1. Primary reference: Ch 6,7,8 of [Bayes Rules! An Introduction to Applied Bayesian Modeling](https://www.bayesrulesbook.com/) by Jhonson et al.