testP | R Documentation |
Tests if a trajectory is periodic.
testP(data, wthresh = 0.1, fxPtThresh = 1e-04, show = 0)
data |
Input Time series: Each column is one time series that corresponds to one variable. |
wthresh |
Threshold used to detect the limit cycle. |
fxPtThresh |
Threshold used to detect fixed points. |
show |
Provide (2) or not (0-1) visual output during the running process. |
periodic
An integer classifying the models:
diverging or unclassified trajectory (0),
period-1 trajectory (-1), period-2 trajectory (-2)
and fixed Point (2).
Sylvain Mangiarotti, Flavie Le Jean
autoGPoMoTest
, gPoMo
#Example
# Load data:
data('P1FxChP2')
# Test a period-1 trajectory
testP(P1FxChP2[,1:2], wthresh=0.1, fxPtThresh = 1e-6, show=0)
# Test a Fixed Point trajectory
testP(P1FxChP2[,3:4], wthresh=0.1, fxPtThresh = 1e-6, show=0)
# Test a chaotic trajectory
testP(P1FxChP2[,5:6], wthresh=0.1, fxPtThresh = 1e-6, show=0)
# Test a period-2 trajectory
testP(P1FxChP2[,7:8], wthresh=0.1, fxPtThresh = 1e-6, show=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.