dot-rmvn: Generate Multivariate Normal Random Variates

.rmvnR Documentation

Generate Multivariate Normal Random Variates

Description

Generates random samples from a multivariate normal distribution with a specified covariance structure.

Usage

.rmvn(n, sigma)

Arguments

n

Integer. Number of samples to generate.

sigma

Matrix. Covariance matrix that defines the distribution.

Value

Matrix of dimension n × ncol(sigma) containing random samples from the multivariate normal distribution.


R-Computing-Lab/discord documentation built on June 9, 2025, 3:57 p.m.