rmvnorm_chol: Simulate from a Multivariate Normal Distribution

Description Usage Arguments Value

View source: R/normMixEm.R

Description

Sample from a multivariate normal distribution based on Cholesky decomposition. Modified based on rmvnorm mixtools

Usage

1

Arguments

n

Number of vectors to simulate.

mu

Mean vector.

sigma

Covariance matrix, assumed symmetric and nonnegative definite.

Value

A n*p matrix. Each row is a multivariate normal vector generated independently based on the input parameters.


srhaup2/clustering_scRNA documentation built on Dec. 23, 2021, 4:29 a.m.