rmvnorm: Generate random vectors from a multivariate normal...

Description Usage Arguments Value

View source: R/mvnorm.R

Description

Generate random vectors from a multivariate normal distribution.

Usage

1
rmvnorm(n, mu, sigma)

Arguments

n

Number of random vectors to return.

mu

The mean vector.

sigma

The variance-covariance matrix.

Value

A matrix of n rows, each drawn from the MVN distribution with parameters mu and sigma.


persimoirre/sgthings documentation built on May 14, 2019, 11:13 a.m.