The repository includes the R
functions to implement the logit stick-breaking process model of the paper:
The LSBP
package can be installed by running the following commands:
# If the devtools R package is not already installed
# install.packages("devtools")
devtools::install_github("tommasorigon/LSBP")
Alternatively, install the R
package from the source file LSBP_VERSION.tar.gz
with R CMD INSTALL LSBP_VERSION.tar.gz
.
The documentation of the LSBP
package is available in this repository. The file tutorial.md
contains detailed instruction for reproducing the epidemiological application of Section 4 in the paper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.