data_generation: Data generation

Description Usage Arguments Value Examples

Description

Generate model (M1)-(M5) from the simulation Section of the paper

Usage

1
data_generation(r, u, N, K, md, seed=999)

Arguments

r

Dimension of data

u

Envelope dimension

K

Selected number of clusters

md

Type of model in the paper, choose from 1 to 5

seed

Random seed for generation process, default 999

Value

mu

Clusters centers

Sigma

Clusters covariance

Gamma

Envelope subspace basis

Examples

1
2
3
set.seed(999)
K <- 4;r <- 15; u<- 2;N <- 1000;md=2
da <- data_generation(r, u, N, K, md)

kusakehan/CLEMM documentation built on May 24, 2019, 2:46 p.m.