basic test OK, but problem with 'fast' EMGLLF output in last EMilie test
[valse.git] / test / script_data.R
CommitLineData
17b9fa5f
BA
1m=6
2p=6
3
4covY = array(0,dim = c(m,m,2))
5covY[,,1] = diag(m)
6covY[,,2] = diag(m)
7
8Beta = array(0, dim = c(p, m, 2))
9Beta[1:4,1:4,1] = 3*diag(4)
10Beta[1:4,1:4,2] = -2*diag(4)
11
12Data = generateXY(200, c(0.5,0.5), rep(0,p), Beta, diag(p), covY)
13#
82718d11 14Res = valse(Data$X,Data$Y, fast=TRUE, plot=FALSE, verbose = TRUE, kmax=3, size_coll_mod = 50, selecMod = "DDSE", mini = 50, maxi=100)
17b9fa5f 15plot(Res$tableau[,3], -Res$tableau[,4])