Skip to content
Snippets Groups Projects
samplingFromMvrnorm.Rd 649 B
Newer Older
Arnaud Duvermy's avatar
Arnaud Duvermy committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datafrommvrnorm_manipulations.R
\name{samplingFromMvrnorm}
\alias{samplingFromMvrnorm}
\title{getDataFromMvrnorm}
\usage{
samplingFromMvrnorm(n_samplings, l_mu, matx_cov)
}
\arguments{
\item{n_samplings}{number of samplings using mvrnorm}

\item{l_mu}{vector of mu}

\item{matx_cov}{covariance matrix}
}
\value{
samples generated from multivariate normal distribution
}
\description{
getDataFromMvrnorm
}
\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)
}