Classify Aquatic Animal Behaviours from Vertical Movement Data
Import depth statistics and combine with PC scores
Create depth statistics
create_wavelet_stats
Create and plot the wavelet power spectrum
FishDiveR: Classify Aquatic Animal Behaviours from Vertical Movement D...
Load time-depth series data from csv file
Perform k-means
Prepare all data for Principal Component Analysis
Perform Principal Component Analysis
Calculate Principal Component Analysis Scores not including depth stat...
Plot the time-series depth records of the selected tag. Colour days by...
Plot the time-series depth records of the days closest to the centre o...
Plot the time-series depth dataset
Perform k selection
Quantitatively analyse depth time-series data from pop-up satellite archival tags (PSATs) through the application of continuous wavelet transformation (CWT) combined with Principal Component Analysis (PCA), and k-means clustering. Import, crop, and plot depth time-depth records (TDRs). Using CWT to detect important signals within the non-stationary data, we create daily wavelet statistics to summarise vertical movements on different wavelet periods and combine with daily and diel depth statistics. Classify depth time-series with unsupervised k-means clustering into 24-hour periods of vertical movement behaviour with distinct patterns of vertical movement. Plot example days from each behaviour cluster, and plot the TDR coloured by cluster. Based on principals of combining CWT with k-means first developed by Sakamoto (2009) <doi:10.1371/journal.pone.0005379> and redeveloped by Beale (2026) <doi:10.21203/rs.3.rs-6907076/v1>.
Useful links