gaussSamp: Sample from a Gaussian with a given covariance.

Description Usage Arguments Value See Also Examples

View source: R/gaussSamp.R

Description

samples a given number of samples from a Gaussian with a given covariance matrix.

Usage

1
gaussSamp(mu=matrix(0,nrow=dim(Sigma)[1]), Sigma, numSamps)

Arguments

mu

the mean of the Gaussian to sample from.

Sigma

the covariance of the Gaussian to sample from.

numSamps

the number of samples to take from the Gaussian.

Value

y

the samples from the Gaussian

See Also

rnorm, eigen.

Examples

1
## missing

alkalait/gptk documentation built on March 7, 2020, 6:30 a.m.