projects
/
valse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename main function into runValse, remove testthat folder since nobody's gonna write...
[valse.git]
/
pkg
/
R
/
initSmallEM.R
diff --git
a/pkg/R/initSmallEM.R
b/pkg/R/initSmallEM.R
index
937ea73
..
fccd51d
100644
(file)
--- a/
pkg/R/initSmallEM.R
+++ b/
pkg/R/initSmallEM.R
@@
-5,9
+5,10
@@
#' @param Y matrix of responses (of size n*m)
#'
#' @return a list with phiInit, rhoInit, piInit, gamInit
#' @param Y matrix of responses (of size n*m)
#'
#' @return a list with phiInit, rhoInit, piInit, gamInit
-#'
@export
+#'
#' @importFrom methods new
#' @importFrom stats cutree dist hclust runif
#' @importFrom methods new
#' @importFrom stats cutree dist hclust runif
+#' @export
initSmallEM <- function(k, X, Y, fast)
{
n <- nrow(X)
initSmallEM <- function(k, X, Y, fast)
{
n <- nrow(X)