X-Git-Url: https://git.auder.net/?p=valse.git;a=blobdiff_plain;f=pkg%2FR%2FEMGLLF.R;h=93012fb163100e8d2d4952ffb156ac94286fc1a3;hp=e393ec8633ddfb711f382c8188d39f46df467ee2;hb=6775f5b98ffc7eae7ce9d4081b23b39ce66d3c0b;hpb=e9db79707709c10947e89756eb5655c0747a2a1d diff --git a/pkg/R/EMGLLF.R b/pkg/R/EMGLLF.R index e393ec8..93012fb 100644 --- a/pkg/R/EMGLLF.R +++ b/pkg/R/EMGLLF.R @@ -39,8 +39,8 @@ EMGLLF <- function(phiInit, rhoInit, piInit, gamInit, mini, maxi, gamma, lambda, # Function in C n <- nrow(X) #nombre d'echantillons p <- ncol(X) #nombre de covariables - m <- ncol(Y) #taille de Y (multivarié) - k <- length(piInit) #nombre de composantes dans le mélange + m <- ncol(Y) #taille de Y (multivarie) + k <- length(piInit) #nombre de composantes dans le melange .Call("EMGLLF", phiInit, rhoInit, piInit, gamInit, mini, maxi, gamma, lambda, X, Y, eps, phi = double(p * m * k), rho = double(m * m * k), pi = double(k), llh = double(1), S = double(p * m * k), affec = integer(n), n, p, m, k,