Before revision:  Throughout this tutorial, we develop an implementation of the PMH algorithm (and the integrated particle filter ), which is distributed as the package pmhtutorial available from the CRAN repository.
After revision:  Throughout this tutorial, we develop an implementation of the PMH algorithm (and the particle filter within) together with the reader. This final implementation is also available as the package pmhtutorial available from the CRAN repository.