#' complete_clusterNumberPar
#'
#' @param n
#'
#' @param prob_vec
#'
#' @param iterations
#'
#' @param l
#'
#' @param pb
#' @return
#' @export
#'
#' @examples
#complete_processPar<-function(n,prob_vec,iterations){
# clustering<-foreach(i=prob_vec) %do%{
# data<-clusters_matrix(n,i)
# data<- processPar(iterations,data)
# data
# }
# return(clustering)
#}
complete_clusterNumberPar<-function(n,prob_vec,iterations,l,pb){
clustering<-foreach(i=prob_vec,j = icount(length(prob_vec))) %do%{
data<-clusters_matrix(n,i)
setTxtProgressBar(pb, j)
gc()
data<- clusterNumberPar(iterations,data)
data
}
return(clustering)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.