[Draft] Supplementary code for the paper "Informed Random Partition Models with Temporal Dependence"
Sally Paganin, Garritt L. Page, Fernando Andrés Quintana
arxiv: https://arxiv.org/abs/2311.14502
Make sure to have the following R packages installed.
install.packages("devtools") ## to install packages from github
install.packages("salso")
## packages for output processing and visualization
install.packages("reshape2")
install.packages("ggplot2")
install.packages("grid")
install.packages("gridExtra")
install.packages("betafunctions")
install.packages("latex2exp")
#install.packages("bayestestR")
#install.packages("cowplot")
The scripts make use of two R packages available on Github.
library(devtools)
devtools::install_github("gpage2990/drpm") ## package for dependent random partition models
devtools::install_github("salleuska/CPLogit", subdir = "CPLogit") ## package for centered partition process regression model