Learn R Programming

mrgsolve (version 1.5.1)

mvgauss: Simulate from a multivariate normal distribution with mean zero

Description

Simulate from a multivariate normal distribution with mean zero

Usage

mvgauss(mat, n = 10, seed = NULL)

Arguments

mat

a positive-definite matrix

n

number of variates to simulate

seed

if not null, passed to set.seed