Description Usage Arguments Author(s) References Examples
A function to calculate the dynamic complexity of a series of observations, resulting from the degree of fluctuation and the degree of scattering. This measure is calculated in moving windows of a specified width, resulting in a series of values of a length equal to the length of the series of observations.
1 | complexity(x, scaleMin, scaleMax, width = 7, measure = "complexity", rescale = FALSE)
|
x |
The data to be used (representing a series of observations). |
scaleMin |
Theoretical minimum of the data. Will default to the observed minimum of x. |
scaleMax |
Theoretical maximum of the data. Will default to the observed maximum of x. |
width |
Width of the moving window. Default is 7. |
measure |
Either "complexity", "fluctuation" or "distribution". Indicates which value should be returned. Default is "complexity". |
rescale |
If TRUE, rescales the returned values to scale minimum and maximum. This is sometimes useful for graphical interpretation or plotting. Default: FALSE. |
Tim Kaiser <Tim.Kaiser@sbg.ac.at>
Kaiser, T. (2017). dyncomp: an R package for Estimating the Complexity of Short Time Series. DOI 10.17605/OSF.IO/GWTKX
1 2 3 4 5 |
Loading required package: zoo
Attaching package: ‘zoo’
The following objects are masked from ‘package:base’:
as.Date, as.Date.numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.