Chapter 1 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).

1.1 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:

remotes::install_github('davidissamattos/bpcs')

1.2 Session info

This appendix is compiled automatically and the following session information was used to generate this appendix:

sessionInfo()
## R version 4.0.3 (2020-10-10)
## Platform: x86_64-apple-darwin17.0 (64-bit)
## Running under: macOS Big Sur 10.16
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
##  [1] cmdstanr_0.4.0  knitr_1.33      forcats_0.5.1   stringr_1.4.0  
##  [5] dplyr_1.0.7     purrr_0.3.4     readr_1.4.0     tidyr_1.1.3    
##  [9] tibble_3.1.4    ggplot2_3.3.5   tidyverse_1.3.1 bpcs_1.2.1     
## 
## loaded via a namespace (and not attached):
##  [1] tidyselect_1.1.1 xfun_0.25        haven_2.3.1      colorspace_2.0-2
##  [5] vctrs_0.3.8      generics_0.1.0   htmltools_0.5.0  yaml_2.2.1      
##  [9] utf8_1.2.2       rlang_0.4.11     jquerylib_0.1.4  pillar_1.6.2    
## [13] withr_2.4.2      glue_1.4.2       DBI_1.1.0        dbplyr_2.1.1    
## [17] modelr_0.1.8     readxl_1.3.1     lifecycle_1.0.0  munsell_0.5.0   
## [21] gtable_0.3.0     cellranger_1.1.0 rvest_1.0.1      evaluate_0.14   
## [25] fansi_0.5.0      broom_0.7.9      Rcpp_1.0.7       scales_1.1.1    
## [29] backports_1.2.1  jsonlite_1.7.2   fs_1.5.0         hms_1.1.0       
## [33] digest_0.6.27    stringi_1.7.4    bookdown_0.24    grid_4.0.3      
## [37] cli_3.0.1        tools_4.0.3      magrittr_2.0.1   crayon_1.4.1    
## [41] pkgconfig_2.0.3  ellipsis_0.3.2   xml2_1.3.2       reprex_2.0.1    
## [45] lubridate_1.7.10 assertthat_0.2.1 rmarkdown_2.10   httr_1.4.2      
## [49] rstudioapi_0.13  R6_2.5.1         compiler_4.0.3