getVal {Chaos01} | R Documentation |
Get the vector of Kc/c values from the chaos01.res object.
Description
This function allows easy extraction of Kc/c values from the chaos01.res object.
Usage
getVal(x, vars = "both")
Arguments
x |
the object of "chaos01.res" class, produced by testChaos01 function when parameter out = "TRUE". Subset the output of the function to get the results for the concrete c. See the example. |
vars |
list/vector define what should be plotted.
Default is "both"). |
Value
Vector of Kc or c values, or data.frame including both vectors if vars = "both".
References
Gottwald G.A. and Melbourne I. (2004) On the implementation of the 0-1 Test for Chaos, SIAM J. Appl. Dyn. Syst., 8(1), 129–145.
See Also
Examples
vec.x <- gen.logistic(mu = 3.55, iter = 2000)
#Kc for each value of c
res2 <- testChaos01(vec.x, out = TRUE)
results <- getVal(res2, vars = "both")
print(head(results))
#Get results of 0-1 test for Chaos when out = TRUE
K <- median(getVal(res2, vars = "Kc"))
[Package Chaos01 version 1.2.1 Index]