rmvnorm: Sample from the multivariate normal distribution

rmvnormR Documentation

Sample from the multivariate normal distribution

Description

Sample from the multivariate normal distribution

Usage

rmvnorm(mu, Sig2)

Arguments

mu

a p x 1 vector

Sig2

a p x p positive definite matrix

Value

a p x 1 vector

Author(s)

Peter Hoff

Examples

rmvnorm( c(0,0,0),diag(rep(3,1)) )   

eigenmodel documentation built on Jan. 18, 2026, 5:06 p.m.