If you are interested in the optimisation result from NbClust
, you will find it in nc$Best.partition
where each number is the cluster number for respective row in the data matrix.
for example
> nc$Best.partition
[1] 1 2 3 4 5 1 3 5 1 1 4 1 4 1 5 1 5 1 4 2
for 20×10 data matrix.
More Related Contents:
- Cluster analysis in R: determine the optimal number of clusters
- Text clustering with Levenshtein distances
- Cluster one-dimensional data optimally? [closed]
- Identifying points by color
- Replacing NAs with latest non-NA value
- Select the first and last row by group in a data frame
- Categorize numeric variable into group/ bins/ breaks
- Select groups with more than one distinct value
- Is there a way to change the spacing between legend items in ggplot2?
- Remove group from data.frame if at least one group member meets condition
- Scatterplot with too many points
- Setting individual axis limits with facet_wrap and scales = “free” in ggplot2
- How do you order the fill-colours within ggplot2 geom_bar
- Getting LaTeX into R Plots
- How to wait for a keypress in R?
- Select columns based on string match – dplyr::select
- How to make gradient color filled timeseries plot in R
- Using row-wise column indices in a vector to extract values from data frame [duplicate]
- R and System calls
- Convert data frame with date column to timeseries
- How can a non-imported method in a not-attached package be found by calls to functions not having it in their namespace?
- Tidyr how to spread into count of occurrence [duplicate]
- What is the most useful R trick? [closed]
- What methods can we use to reshape VERY large data sets?
- Using lapply to apply a function over list of data frames and saving output to files with different names
- Recognize PDF table using R
- Output a vector in R in the same format used for inputting it into R
- Working with neuralnet in R for the first time: get “requires numeric/complex matrix/vector arguments”
- Row-wise sum of values grouped by columns with same name
- Create binary column (0/1) based on condition in another column