Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datafrommvrnorm_manipulations.R
\name{getCovarianceMatrix}
\alias{getCovarianceMatrix}
\title{getCovarianceMatrix}
\usage{
getCovarianceMatrix(list_stdev, list_covar)
}
\arguments{
\item{list_stdev}{standard deviation list}
\item{list_covar}{covariance list}
}
\value{
covariance matrix
}
\description{
getCovarianceMatrix
}
\examples{
vector_sd <- c(1,2, 3)
names(vector_sd) <- c("varA", "varB", "varC")
vector_covar <- c(8, 12, 24)
names(vector_covar) <- c("varA.varB", "varA.varC", "varB.varC")
covMatrix <- getCovarianceMatrix(vector_sd, vector_covar)
}