简体   繁体   中英

Clustering Analysis

I want to perform clustering analysis on my data set.

I have a data set with 11 observations and 245 variables for each observation.

All the packages I found in R are clustering observations not variables. I want to perform clustering analysis on variables.

How to perform clustering with variables.

Try the iclust() function within the psych package as well as hclustvar() within the ClustOfVar package. These perform clustering of variables as opposed to clustering of observations.

Transpose your data.

Then your variables are observations, and observations become variables.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM