mvrnormRC: From a variance-covariance matrix, output normal variates...

Description Usage Arguments Details See Also

Description

Function that takes a variance-covariance matrix and produces normal variates following it, but with means 0.

Usage

1
mvrnormRC(N, Sigma)

Arguments

N

The number to draw.

Sigma

Must be square.

Details

The R function mvrnorm does this too; this was a test of the algorithm from Tommaso Zillio.

See Also

MASS::mvrnorm().


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.