dirmcmc package provides functions for simulating from a target distribution with known log unnormalized density and its derivative. The derivative information is needed to construct the DMH kernel, which is a generalization of random walk Metropolis Hastings kernel.

`metropdir`

: Implements the dmh algorithm to simulate from a given density.

`metropdir.adapt`

: Adaptive version of DMH algorithm.

`iact`

: Integrated auto correlation times of a univariate chain.

`msjd`

: Mean square jump distance of a multivariate chain.

`mcmcdiag`

: Some summary of diagnostics of a given chain.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.