rmvnorm {dmutate}R Documentation

Simulate from multivariate normal distribution.

Description

Simulate from multivariate normal distribution.

Usage

rmvnorm(n, mu, Sigma)

rlmvnorm(n, ...)

rmassnorm(n, ...)

rlmassnorm(n, ...)

Arguments

n

number of variates

mu

vector of means

Sigma

variance-covariance matrix with number of columns equal to length of mu

...

arguments passed to rmvnorm

Details

rlmvnorm is a multivariate log normal.

rmassnorm and rlmassnorm simulate the multivariate normal using the MASS package.

Value

Returns a matrix of variates with number of rows equal to n and mumber of columns equal to length of mu.


[Package dmutate version 0.1.3 Index]