Extract cluster membership information from one solutions matrix row
Source:R/cluster_extraction.R
get_cluster_df.Rd
This function takes in a single row of 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_solutions()
,
which takes a solutions matrix with any number of rows and returns a
dataframe indicating the cluster assignments for each of those rows.