Well I must say that I am still struggling to understand exactly how fdim
works, and what form the first argument is to take. Presumably the function
produces something like 1-slope for a log log plot as a fractal dimension.
I guess it is really the makeline() function I don't understand from the
documentation. Is that how you got your data or are you using real data?
That said, I note in the help that the first argument X is to be a dataframe
not a matrix (mat??). Could that be giving you problems? Do you get
better results with as.data.frame(mat)?
Rob
----- Original Message -----
From: "Fred J." <phddas at yahoo.com>
To: "r help" <r-help at stat.math.ethz.ch>
Sent: Monday, April 12, 2004 6:05 PM
Subject: [R] fractal calculation using fdim
> Hello
> I am getting this
> Error in slopeopt(AllPoints, Alpha) : Object "LineP"
> not found
> when the dim(<data.frame>) of the data matrix for
> which the fdim is being calculated hits a certain
> values depending on the data set. e.g
> print(dim(mat))
> fd <- fdim(mat,q=2)
> [1] 2743 2
> [1] 2742 3
> [1] 2741 4
> [1] 2740 5
> [1] 2739 6
> [1] 2738 7
> [1] 2737 8
> [1] 2736 9
> [1] 2735 10
> [1] 2734 11
> [1] 2733 12
> Error in slopeopt(AllPoints, Alpha) : Object "LineP"
> not found
> if I change the data set to mat2 with totally
> different values I would get the above error at a
> dim(mat) of say
> 2693 52
>
> thanks for any input.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html>