Skip to contents

getDataFromMvrnorm

Usage

samplingFromMvrnorm(n_samplings, l_mu, matx_cov)

Arguments

n_samplings

number of samplings using mvrnorm

l_mu

vector of mu

matx_cov

covariance matrix

Value

samples generated from multivariate normal distribution

Examples

n <- 100
mu <- c(0, 0)
covMatrix <- matrix(c(1, 0.5, 0.5, 1), ncol = 2)
samples <- samplingFromMvrnorm(n_samplings = n, l_mu = mu, matx_cov = covMatrix)