From 465c0e07fbf8363a2625f26681fa7ba31bad82b7 Mon Sep 17 00:00:00 2001
From: emilie <emilie@devijver.org>
Date: Fri, 21 Apr 2017 16:04:27 +0200
Subject: [PATCH] install the package

---
 pkg/R/constructionModelesLassoMLE.R | 1 -
 pkg/data/script_data.R              | 8 ++++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/pkg/R/constructionModelesLassoMLE.R b/pkg/R/constructionModelesLassoMLE.R
index 9743f0c..c55035e 100644
--- a/pkg/R/constructionModelesLassoMLE.R
+++ b/pkg/R/constructionModelesLassoMLE.R
@@ -77,7 +77,6 @@ constructionModelesLassoMLE <- function(phiInit, rhoInit, piInit, gamInit, mini,
       
       logGam <- logGam - max(logGam) #adjust without changing proportions
       gam <- exp(logGam)
-      print(gam)
       norm_fact <- sum(gam)
       sumLogLLH <- sumLogLLH + log(norm_fact) - log((2 * base::pi)^(m/2))
     }
diff --git a/pkg/data/script_data.R b/pkg/data/script_data.R
index 1585337..9a95115 100644
--- a/pkg/data/script_data.R
+++ b/pkg/data/script_data.R
@@ -9,7 +9,7 @@ Beta = array(0, dim = c(p, m, 2))
 Beta[1:4,1:4,1] = 3*diag(4)
 Beta[1:4,1:4,2] = -2*diag(4)
 
-Data = generateXY(100, c(0.5,0.5), rep(0,p), Beta, diag(p), covY)
-
-Res = valse(Data$X,Data$Y, fast=FALSE, plot=FALSE, verbose = TRUE, kmax=2, compute_grid_lambda = FALSE, 
-            grid_lambda = seq(0.2,2,length = 50), size_coll_mod = 50)
+#Data = generateXY(100, c(0.5,0.5), rep(0,p), Beta, diag(p), covY)
+#
+#Res = valse(Data$X,Data$Y, fast=FALSE, plot=FALSE, verbose = TRUE, kmax=2, compute_grid_lambda = FALSE, 
+#            grid_lambda = seq(0.2,2,length = 50), size_coll_mod = 50)
-- 
2.44.0