SMP_framework_team_level: Team level application of the SMP framework

Description Usage Arguments Value Examples

View source: R/SMP-framework-team-level.R

Description

Applies the SMP framework to a list of Catapult 10Hz GPS dataframes.

Usage

1
2
3
4
5
6
7
8
SMP_framework_team_level(
  my_list,
  velocity_thresholds,
  threshold_value,
  movement_unit_subsequence_duration,
  movement_unit_subsequence_length,
  number_of_clusters
)

Arguments

my_list

A list of Catapult 10Hz GPS dataframes of multiple players for a single match or training drill of any length.

velocity_thresholds

A numeric vector representing the velocity time series threshold values which correspond to the velocity descriptors supplied to the movement unit dictionary.

threshold_value

A numeric value representing the change point velocity.

movement_unit_subsequence_duration

A numeric value representing the minimum number of movement units required for a movement subsequence to be included in the analysis.

movement_unit_subsequence_length

A character string, either "long" or "short" which pertains to the repeated movement units within a movement unit subsequence.

number_of_clusters

A numeric value with the initial number of clusters the user wants for the Hierarchical cluster analysis.

Value

A list of outputs including the original data, the individuals movement unit dictionary with summary stats, the frequent SMP and movement unit subsequences with summary stats for all players.

Examples

1
2
3
SMP_data <- apply_SMP_framework(my_list = gps_data_list, velocity_thresholds = c(0.00, 1.69, 3.90, 4.99),
                                threshold_value = 1.20, locomotive_event_subsequence_duration = 50, 
                                locomotive_event_subsequence_length = "long", number_of_clusters = 25)

Ryan-Colin-White/smp-framework-in-r documentation built on Dec. 18, 2021, 11:55 a.m.