powered by
Generate random multivarate clusters
rmvnorm_clusters(ns, means)
number of data points in each cluster
centers of each cluster
list containing matrix X and labels cl
X
cl
# NOT RUN { ns <- c(5, 8, 7) means <- list(c(-6, 1), c(-1, -1), c(0, 4)) d <- rmvnorm_clusters(ns, means) # }
Run the code above in your browser using DataLab