Function to calculate the BIC (Bayesian Information Criterion) for a matrix and cluster membership
1 | bic_kmeans2(x, cl)
|
x |
matrix with samples as rows and predictors as columns |
cl |
vector of cluster memberships for the samples |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.