em_clust: IMplements EM algorithm for clustering data based on...

Description Usage Arguments Value

View source: R/em_clust.R

Description

IMplements EM algorithm for clustering data based on multivariate normal distributions

Usage

1
em_clust(dat, k)

Arguments

dat

dataframe to perform clustering on

k

number of clusters

Value

A list object with the p, probabilities of the ith datapoint belonging to the jth group, mu, a dataframe of the centers of the k multivariate normal sources, and sigma, the covariance matrices of each of the mvn sources


tciven/clust431 documentation built on Sept. 7, 2020, 1:13 p.m.