em_clust: EM Clustering

Description Usage Arguments Value

View source: R/em_clust.R

Description

Preform EM clustering on a dataset.

Usage

1
EM(x, k)

Arguments

x

numeric matrix of data, or an object that can be coerced to such a matrix (such as a numeric vector or a data frame with all numeric columns).

k

the number of initial means

Value

A list containing cluster means, clustering vector, and covariance.


Cal-Poly-Advanced-R/lab-8-expectation-maximization-shanealman documentation built on June 6, 2020, 12:16 a.m.