[.clustering {Clustering} | R Documentation |
clustering
object returning a new
clustering
object.Generates a new filtered clustering
object.
## S3 method for class 'clustering'
clustering[condition = TRUE]
clustering |
The |
condition |
Expression to filter the |
This function allows you to filter the data set for a given
evaluation metric. The evaluation metrics available are:
Algorithm, Distance, Clusters, Data, Var, Time, Entropy,
Variation_information, Precision, Recall, F_measure, Fowlkes_mallows_index,
Connectivity, Dunn, Silhouette and TimeAtt
.
A clustering
object filtered from the input parameters.
library(Clustering)
result <- clustering(df = Clustering::basketball, algorithm = 'clara',
min=3, max=4, metrics = c('Precision','Recall'))
result[Precision > 0.14 & Recall > 0.11]