[R] fdim problems

Pat Johnston pjohnsto at mail.newcastle.edu.au
Thu Jan 25 02:49:01 CET 2001


hi
I am trying to use the add-on package fdim to calculate fractal
dimesionality of some time series data.

I keep getting an error - trying to run simple example from the help
pages

Error in if (MaxDiff > Chi2) { : missing value where logical needed

when I set the debug option of the function slopeopt()

I get the following read out...

[1] "###############################"
[1] "X="
      [,1]      [,2]
 [1,]   -1 -1.000000
 [2,]   -2 -2.321928
 [3,]   -3 -3.459432
 [4,]   -4 -4.523562
 [5,]   -5 -5.491853
 [6,]   -6 -6.475733
 [7,]   -7 -7.426265
 [8,]   -8 -8.317413
 [9,]   -9 -8.982994
[1] "Chi2="
[1] 1.642374
[1] "Residual (Ej)="
[1] 0 0 0 0 0 0 0 0 0
[1] "(Ej-EM)*(1/ESS)*(Ej-EM)="
[1] NaN NaN NaN NaN NaN NaN NaN NaN NaN
[1] "MaxDiff="
[1] NaN

something is clearly amiss.

Has anyone encountered/solved this problem ?

Does anyone have any decent code for fractal analysis of time series ?

Any help would be much appreciated.


cheers,

Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010125/a59376d8/attachment.html


More information about the R-help mailing list