rlog_norm <- function(n, sigma){
if(max(dim(Sigma)) > 1){
mu <- -0.5 * diag(sigma)
exp(mvrnorm(n, mu, sigma))
} else {
exp(rnorm(n, - 0.5 * sigma, sigma))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.