rmvnorm: rmvnorm

View source: R/func_helper.R

rmvnormR Documentation

rmvnorm

Description

Obtains a sample from a multivariate normal distribution.

Usage

rmvnorm(n, mu, Sigma, norm.x = matrnorm(k, n, seed = round(runif(1) * 1e+15)))

Arguments

n

integer: The sample size.

mu

numeric: The mean vector

Sigma

matrix: The Covariance matrix.


kDGLM documentation built on April 4, 2025, 4:44 a.m.