fractaldim {geostats} | R Documentation |
calculate the fractal dimension
Description
Performs box counting on a matrix of 0s and 1s.
Usage
fractaldim(mat, plot = TRUE, ...)
Arguments
mat |
a square matrix of 0s and 1s. Size must be a power of 2. |
plot |
logical. If |
... |
optional arguments to the generic |
Value
an object of class lm
Examples
g <- sierpinski(n=5)
fractaldim(g)
[Package geostats version 1.6 Index]