-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.Rmd
59 lines (42 loc) · 1.78 KB
/
index.Rmd
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: 'Online appendix for the paper: "Bayesian Paired-Comparison with the bpcs package"'
author: "David Issa Mattos and Érika Martins Silva Ramos"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
documentclass: book
output:
bookdown::gitbook: default
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
description: 'This is the online appendix for the paper: "Bayesian Paired-Comparison with the bpcs package."'
always_allow_html: true
---
```{r include=FALSE}
# automatically create a bib database for R packages
knitr::write_bib(c(
.packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')
knitr::opts_chunk$set(cache=TRUE)
library(bpcs)
library(tidyverse)
library(knitr)
library(cmdstanr)
PATH_TO_CMDSTAN <- paste(Sys.getenv("HOME"), '/.cmdstan/cmdstan-2.27.0', sep = '')
set_cmdstan_path(PATH_TO_CMDSTAN)
set.seed(99)
```
# Foreword
This is the online appendix for the paper *"Bayesian Paired-Comparison with the bpcs package"*. It contains a commented and reproducible code for all the analysis, tables and plots presented in the paper.
In the beginning of each study, we show a few lines of the original datasets. These datasets are either available through a link in the paper or through asking the authors directly. Therefore we do not provide or distribute the data in this appendix (or in the code repository).
## Installation of the bpcs package
This appendix was compiled with the version 1.2.1 of the bpcs package.
The development and latest version of the bpcs package can be installed directly from Github with:
```{r eval=F}
remotes::install_github('davidissamattos/bpcs')
```
## Session info
This appendix is compiled automatically and the following session information was used to generate this appendix:
```{r}
sessionInfo()
```