rmvnorm: Simulation from a multivariate normal distribution

Description Usage Arguments Value Author(s)

View source: R/rmvnorm.R

Description

Simulates a matrix where the rows are i.i.d. samples from a multivariate normal distribution

Usage

1
rmvnorm(n, mu, Sigma, Sigma.chol = chol(Sigma))

Arguments

n

sample size

mu

multivariate mean vector

Sigma

covariance matrix

Sigma.chol

Cholesky factorization of Sigma

Value

a matrix with n rows

Author(s)

Peter Hoff


pdhoff/amen documentation built on June 14, 2018, 3:20 p.m.