Learn R Programming

ADtools (version 0.5.4)

rmvnorm0: Simulate multivariate normal random variates

Description

Simulate multivariate normal random variates

Usage

rmvnorm0(n, mean, sigma)

Arguments

n

Positive integer; the number of samples.

mean

mean vector of the normal distribution.

sigma

covariance matrix of the normal distribution.

Value

A numeric matrix, where every column is a sample.