Update to conform to CRAN rules (unfinished)
[valse.git] / pkg / R / initSmallEM.R
index 10cb191..cf31c63 100644 (file)
@@ -1,3 +1,5 @@
+#' initSmallEM
+#'
 #' initialization of the EM algorithm
 #'
 #' @param k number of components
@@ -8,6 +10,7 @@
 #' @return a list with phiInit, rhoInit, piInit, gamInit
 #'
 #' @importFrom stats cutree dist hclust runif
+#'
 #' @export
 initSmallEM <- function(k, X, Y, fast)
 {