gen.mul.data: Generate multivariate data with the given mean vector and...

Description Usage Arguments Value

View source: R/mul.data.R

Description

Generate multivariate data with the given mean vector and covariance matrix

Usage

1
2
3
4
5
6
7
gen.mul.data(
  n = 100,
  K = 2,
  mu = rep(0, K),
  Sigma = diag(K),
  distribution = c("GAUSSIAN", "LAPLACE", "EXPONENTIAL")
)

Arguments

n

sample size

K

dimension

mu

mean vector

Sigma

covariance matrix

distribution

distribution

Value

a n*K matrix


synfd documentation built on July 1, 2020, 6:04 p.m.