Skip to contents

Diagnoses fractal dimension variation across neighboring scales.

Usage

fd_diagnose(data, keep_data = TRUE)

Arguments

data

Output of fd() with option keep_data = TRUE.

keep_data

Logical. Keep diagnostics data?

Value

A list with fractal dimension across scales, mean fractal dimension, and sd of fractal dimensions across scales.

Examples

fd_data <- fd(horseshoe, lvec = c(0.05, 0.1, 0.2, 0.4), method = "area", keep_data = TRUE)
fd_diagnose(fd_data)

#> $D
#> [1] 2.189408
#> 
#> $data
#>      l      area
#> 1 0.05 107.32345
#> 2 0.10  94.23786
#> 3 0.20  82.22055
#> 4 0.40  72.50778
#> 
#> $lvec
#> [1] 0.05 0.10 0.20 0.40
#> 
#> $D_vec
#> [1] 2.187587 2.196808 2.181363
#> 
#> $var
#> [1] 0.007770556
#> 
#> $method
#> [1] "area"
#> 
fd_diagnose(fd_data, keep_data = FALSE)