Extract cluster membership information from a solutions_matrix
Source:R/cluster_extraction.R
get_cluster_solutions.Rd
This function takes in a solutions matrix and returns a dataframe containing
the cluster assignments for each subjectkey. It is similar to
'get_clusters()
, which takes one solutions matrix row and returns a vector
of cluster assignments' and get_cluster_df()
, which takes a solutions
matrix with only one row and returns a dataframe with two columns: "cluster"
and "subjectkey" (the UID of the observation).