rmnorm: Random Multivariate Normal Generator

Description Usage Arguments Value

View source: R/distribution_functions_ramses.R

Description

Generates a normally distributed vector given a mean vector and either a covariance matrix or a precision matrix. Does not support generating multiple vectors at once.

Usage

1
rmnorm(mu, cov, prec)

Arguments

mu

mean vector.

cov

covariance matrix.

prec

precision matrix.

Value

A randomly generated vector with the same length as mu.


wzhorton/ramses documentation built on May 17, 2019, 1:03 p.m.