X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=pkg%2FR%2FinitSmallEM.R;h=487a4e175f586f1fc0da079926c186b0c118b0dd;hb=8b28401096c8f1b95a4d83b34b47548ae1b2a425;hp=fccd51d4676d05622c576566e2159abc916a6673;hpb=859c30ec72871f923da0498c14a94e67b0219875;p=valse.git diff --git a/pkg/R/initSmallEM.R b/pkg/R/initSmallEM.R index fccd51d..487a4e1 100644 --- a/pkg/R/initSmallEM.R +++ b/pkg/R/initSmallEM.R @@ -3,10 +3,10 @@ #' @param k number of components #' @param X matrix of covariates (of size n*p) #' @param Y matrix of responses (of size n*m) +#' @param fast boolean to enable or not the C function call #' #' @return a list with phiInit, rhoInit, piInit, gamInit #' -#' @importFrom methods new #' @importFrom stats cutree dist hclust runif #' @export initSmallEM <- function(k, X, Y, fast)