Description Usage Arguments Value Examples

View source: R/mcmc_functions.R

This draws a sample from a multivariate normal distribution with mean vector mu and covariance matrix Sigma. It requires the covariance matrix to be decomposed using spectral decomposition (eigen).

1 | ```
mvnorm_sd(mu, decomp.covariance)
``` |

`mu` |
The mean vector |

`decomp.covariance` |
This spectral decomposition part of the sampler. It is V |

a vector containing a sample from the distribution

1 2 3 4 5 |

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.