projects
/
valse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
started to look at EMGLLF.c
[valse.git]
/
pkg
/
R
/
initSmallEM.R
diff --git
a/pkg/R/initSmallEM.R
b/pkg/R/initSmallEM.R
index
056d7e7
..
179822f
100644
(file)
--- a/
pkg/R/initSmallEM.R
+++ b/
pkg/R/initSmallEM.R
@@
-10,9
+10,9
@@
#' @importFrom stats cutree dist hclust runif
initSmallEM <- function(k, X, Y, fast)
{
#' @importFrom stats cutree dist hclust runif
initSmallEM <- function(k, X, Y, fast)
{
- n <- nrow(Y)
- m <- ncol(Y)
+ n <- nrow(X)
p <- ncol(X)
p <- ncol(X)
+ m <- ncol(Y)
nIte <- 20
Zinit1 <- array(0, dim = c(n, nIte))
betaInit1 <- array(0, dim = c(p, m, k, nIte))
nIte <- 20
Zinit1 <- array(0, dim = c(n, nIte))
betaInit1 <- array(0, dim = c(p, m, k, nIte))