Description Usage Arguments Value Examples
View source: R/SMP-framework-sub-functions.R
Applies the longest common subsequence algorithm to the movement unit subsequences to identify the frequent SMP within each cluster group.
1 | identify_frequent_SMP(movement_unit_subsequences, number_of_clusters)
|
movement_unit_subsequences |
A dataframe containing the movement unit subsequences and corresponding hcluster group number. |
number_of_clusters |
The number of unique cluster groups contained in the movement unit subsequences dataframe. |
A dataframe containing frequent SMP identified by the LCS algorithm and summary statistics.
1 2 3 | number_of_clusters <- length(unique(hierarchical_cluster_reassignment_df$Group))
frequent_smp_df <- identify_frequent_SMP(movement_unit_subsequences = hierarchical_cluster_reassignment_df,
number_of_clusters = number_of_clusters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.