data_example.R
draws from and plots the posterior distribution in the HIV-1 RNA data set.functions.stan
contains Stan functions for calculating things needed for drawing from the posterior, e.g., conditional means and covariances.A5055data.txt
contains the HIV-1 RNA data set.
To run the code, you must install
and the CRAN packages
tidyverse
mvtnorm
DEoptim
TruncatedNormal
abind