rmvnorm: Sample from the multivariate normal distribution

Description Usage Arguments Value Author(s) Examples

Description

Sample from the multivariate normal distribution

Usage

1
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

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

Example output

           [,1]        [,2]      [,3]
[1,] -0.4719397 -0.00790218 -1.390716

eigenmodel documentation built on May 28, 2019, 5:04 p.m.