Learn R Programming

habtools (version 1.1.1)

fd_diagnose: Diagnose fractal dimension

Description

Diagnoses fractal dimension variation across neighboring scales.

Usage

fd_diagnose(data, keep_data = TRUE, plot = TRUE)

Value

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

Arguments

data

Output of fd() with option keep_data = TRUE.

keep_data

Logical. Keep diagnostics data? Defaults to TRUE.

plot

Logical. Show diagnostic plot? Defaults to TRUE.

Examples

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

Run the code above in your browser using DataLab