prcr: An R Package for Person-Centered Analysis
Feb 17, 2017
I’m excited to share that prcr (0.1.0), an R package for person-centered analysis, is now available on CRAN via install.packages("prcr").
The package is designed to be “low threshold but high ceiling”, in that you can do all of the analysis with one function, create_profiles(df, n_clusters), where dfis a data.frame of the variables to cluster, and n_clusters is the specified number of clusters.
If you look at ?create_profiles(), there are a lot of other options, from whether to center / scale the data (with to_scale and to_center), to the distance metric and linkage method. The function also outputs all of the information from the clustering, so you can extract the dendrogram from the hierarchical clustering, for example.