Before revision:  This tutorial shows how to conceptualize cSTMs in a programming languageenvironment and shows examples of their implementation in R. We illustrate their use in a cost-effectiveness analysis of a treatment using a previously published testbed cSTM.
After revision:  This tutorial shows how to implement cSTMs in R, an open-source mathematical and statistical programming language. As an example, we use a previously published cSTM-based cost-effectiveness analysis of a treatment using a previously published testbed cSTM.