EMM {rEMM} | R Documentation |
Creator for Class "EMM"
Description
Create a new object of class "EMM"
.
Usage
EMM(threshold = 0.2, measure = "euclidean", distFun = NULL,
centroids = identical(tolower(measure), "euclidean"),
lambda = 0, data = NULL)
Arguments
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 |
Value
An object of class "EMM"
.
See Also
Examples
## 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)