rmvnormprec: Gaussian sampler using the Cholesky decomposition of the...

View source: R/gaussian.R

rmvnormprecR Documentation

Gaussian sampler using the Cholesky decomposition of the precision matrix

Description

Gaussian sampler using the Cholesky decomposition of the precision matrix

Usage

rmvnormprec(n, mu = rep(0, ncol(precis)), precis)

Arguments

n

sample size

mu

mean vector

precis

precision matrix

Value

sample of size n from the multivariate Gaussian distribution


lbelzile/mgp documentation built on Aug. 5, 2023, 2:34 a.m.