powered by
Performs box counting on a matrix of 0s and 1s.
fractaldim(mat, plot = TRUE, ...)
an object of class lm
lm
a square matrix of 0s and 1s. Size must be a power of 2.
logical. If TRUE, plots the results on a log-log scale.
TRUE
optional arguments to the generic points function.
points
g <- sierpinski(n=5) fractaldim(g)
Run the code above in your browser using DataLab