mv_norm: Sampling from multivariate normal distribution

View source: R/mr_mvivwme-methods.R

mv_normR Documentation

Sampling from multivariate normal distribution

Description

Sampling from multivariate normal distribution

Usage

mv_norm(n, mu, Sigma)

Arguments

n

Number of draws.

mu

Mean vector.

Sigma

Covariance matrix.

Details

None.

Value

Random vector of length n.

Examples

mv_norm(1, 0.2, matrix(0.1))


MendelianRandomization documentation built on May 29, 2024, 11:36 a.m.