Description Usage Arguments Value Examples
View source: R/SMP-framework-sub-functions.R
Reprocesses hierarchical cluster results by identifying single element clusters and reassigning the single elements to the next most similar cluster.
1 2 3 4 | hierarchical_cluster_reassignment(
movement_unit_subsequence_matrix,
hierarchical_cluster_assignment_df
)
|
movement_unit_subsequence_matrix |
A Levenshtein distance matrix of a participants movement unit subsequences. |
hierarchical_cluster_assignment_df |
A dataframe composed of a participants movement unit subsequences & hierarchical cluster groups. |
A dataframe containing the supplied movement unit subsequences & their newly associated cluster groups.
1 2 | my_reassigned_clusters <- hierarchical_cluster_reassignment(movement_unit_subsequence_matrix = player_matrix,
hierarchical_cluster_assignment_df = player_hclust_df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.