Nothing
#' Initialize the vector lambda of mixture proportion
#' @param K A numeric value corresponding to the number of cluster
#' @return result A numeric vector of length K
#' @examples
#' init_lambda(K=3)
#' @export
init_lambda <-
function(K) {
result<-rep(1/K, K)
return(result)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.