knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "figs/" )
OPTIMA-Model
is an R package with necessary code and data to run a semi-Markov cohort model to evaluate interventions for people with opioid use disorders.
devtools
install.packages("devtools")
The R scripts to run the model and conduct the analysis are organized into two sections:
i. Model Functions contains R functions for core modules.
ii. Analysis contains R scripts to run the primary analyses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.