Skip to content
/ pdc Public

pdc: An R Package for Complexity-Based Clustering of Time Series

License

Notifications You must be signed in to change notification settings

brandmaier/pdc

Repository files navigation

pdc

cran version rstudio mirror downloads Total downloads badge Lifecycle: stable Code size Travis build status contributions Features License: GPL v3

What is this?

“Permutation distribution clustering is a complexity-based approach to clustering time series. The dissimilarity of time series is formalized as the squared Hellinger distance between the permutation distribution of embedded time series. The resulting distance measure has linear time complexity, is invariant to phase and monotonic transformations, and robust to outliers.” (Brandmaier et al., 2015)

PDC was cited in the context of modeling the predictability of infectious disease outbreaks, clustering of river stream flows, volatility of financial markets, in a decision support systems for agriculture and farming, in investigating Antarctic cryoconite holes.

Install

To install the packagr from CRAN, simply type

install.packages("pdc")

To install the latest pdc package directly from this repository, copy the following line into R:

library(devtools)
devtools::install_github("brandmaier/pdc")

Examples

Documentation

Please see the online package documentation here: https://brandmaier.github.io/pdc/.

References

Brandmaier, A. M. (2015). pdc: An R package for complexity-based clustering of time series. Journal of Statistical Software, 67. doi:10.18637/jss.v067.i05