EMM | R Documentation |
Create a new object of class "EMM"
.
EMM(threshold = 0.2, measure = "euclidean", distFun = NULL,
centroids = identical(tolower(measure), "euclidean"),
lambda = 0, data = NULL)
threshold |
Object of class |
measure |
Object of class |
distFun |
Specify a function passed on as method to |
centroids |
Object of class |
lambda |
Object of class |
data |
Initial data to build the EMM.
This just calls |
An object of class "EMM"
.
EMM-class
## load EMMTraffic data
data(EMMTraffic)
## create empty EMM
emm <- EMM(threshold=0.2, measure="eJaccard", lambda=.1)
emm
## cluster some data
build(emm, EMMTraffic)
emm
## what clusters were the data points assigned to?
last_clustering(emm)
## plot the clustering as a graph
plot(emm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.