I tried to use the nbclust function and got the error: "Error in t (jeu)% *% jeu: requires numeric / complex matrix / vector arguments" this is how I run the function:
NbClust(input_data, diss = dissimilarity_matrix,
distance = NULL,
min.nc=2, max.nc=5, method = "ward.D2",
index = "all")
the error is probably due to the fact that my data is not numeric, but a dissimilarity matrix. all other clustering algorithms do not require a data matrix, is there a way to use this function without data?
source
share