rmnorm: Multivariate Normal Generator
Description
This function generates multivariate normal errors that are used in the
generation of the Bifurcating autoregressive tree.
Usage
rmnorm(n, d = 2, mu = rep(0, d), sigma = diag(d))
Value
An n by d multivariate normal matrix.
Arguments
- n
sample size
- d
dimension. Defaults to 2 for bivariate normal errors.
- mu
mean vector. Defaults to the zero vector.
- sigma
variance-covariance matrix. Defaults to the d by d
identity matrix, where d is the dimension.