projects
/
valse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to conform to CRAN rules (unfinished)
[valse.git]
/
pkg
/
R
/
initSmallEM.R
diff --git
a/pkg/R/initSmallEM.R
b/pkg/R/initSmallEM.R
index
10cb191
..
cf31c63
100644
(file)
--- a/
pkg/R/initSmallEM.R
+++ b/
pkg/R/initSmallEM.R
@@
-1,3
+1,5
@@
+#' initSmallEM
+#'
#' initialization of the EM algorithm
#'
#' @param k number of components
#' 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
#' @return a list with phiInit, rhoInit, piInit, gamInit
#'
#' @importFrom stats cutree dist hclust runif
+#'
#' @export
initSmallEM <- function(k, X, Y, fast)
{
#' @export
initSmallEM <- function(k, X, Y, fast)
{