Package: FishDiveR
Title: Classify Aquatic Animal Behaviours from Vertical Movement Data
Version: 1.3.0
Authors@R: 
    person(given = "Calvin", family = "Beale", email = "calvin.beale.8@gmail.com", role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0002-3505-8929"))
Maintainer: Calvin Beale <calvin.beale.8@gmail.com>
Description: 
  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 principles of combining CWT with k-means first developed by Sakamoto et al. (2009) <doi:10.1371/journal.pone.0005379> and redeveloped by Beale et al. (2026) <doi:10.1186/s40462-025-00622-w>.
License: GPL (>= 3)
URL: https://calvinsbeale.github.io/FishDiveR/,
        https://github.com/calvinsbeale/FishDiveR,
        https://calvinbeale.co.uk/fishdiver/
BugReports: https://github.com/calvinsbeale/FishDiveR/issues
Imports: cluster, cowplot, data.table, dplyr, FactoMineR, geometry,
        ggplot2, gridExtra, lubridate, moments, patchwork, colorspace,
        rgl, Rfast, rlang, scales, suncalc, tidyr, WaveletComp
Suggests: bslib, DT, knitr, rmarkdown, rstudioapi, shiny (>= 1.7.0),
        tcltk, testthat (>= 3.0.0)
Depends: R (>= 3.5.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
Encoding: UTF-8
Config/roxygen2/version: 8.1.1
NeedsCompilation: no
Packaged: 2026-11-07 04:08:19 UTC; Calvi
Author: Calvin Beale [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0002-3505-8929>)
Repository: CRAN
Date/Publication: 2026-11-07 12:10:15 UTC
