I have a dataframe of ~50 enviromental variables and 8 samples. I’ve already clustered the variables using hclustvar(), however, whenever I want to check the stability of the partitions with stability() this error pops up:
“Error: There are columns in X.quanti where all the values are identical”
tree <- hclustvar(X.quanti = metadata_clust_query)
stability(tree)
There are no columns with NAs neither there are columns with the same number repeared in al samples (rows), I’ve tried everything but I have not managed it to work.
thegba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.