Description Usage Arguments Value Examples
Calculate the fractal dimension of a dataset by using the Sand-Box method
1 |
data |
Data of class: |
Rad |
Vector containning values of the radial. |
A data.frame contains: data, columns at each radials. The last presents the Fractal dimension of each points.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## Not run:
#### Uniform variables ####
data <- unidat(n=10000, d=20)
data<-apply(data,MARGIN=2,FUN = function(X) (X - min(X))/diff(range(X)))
rad<-seq(0.1,1,0.01)
A<-LocalSB(data, rad)
A$Results$Fdim
#### IDmining examples #####
library(IDmining)
#### SwissRoll dataset ####
data<-SwissRoll(N=1000)
data<-apply(data,MARGIN=2,FUN = function(X) (X - min(X))/diff(range(X)))
rad<-seq(0.1,1,0.01)
A<-LocalSB(data, rad)
A$Results$Fdim
#### Butterfly dataset ####
data <- Butterfly(1000)[,-9]
data <- apply(data,MARGIN=2,FUN = function(X) (X - min(X))/diff(range(X)))
rad<-seq(0.1,0.31,0.01)
A<-LocalSB(data, rad)
A$Results$Fdim
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.