lac_plot | R Documentation |
Plot lacunarity curve(s)
lac_plot(..., log = TRUE, group_names = NULL)
lacnorm_plot(..., log = TRUE, group_names = NULL)
hr_plot(..., group_names = NULL)
... |
One or more |
log |
A Boolean. |
group_names |
A character |
A ggplot
object displaying the lacunarity or H(r) curve(s). If
multiple curves are supplied, their ordering in the plot legend will
reflect the order they were listed in the function call.
# generate array
a <- array(data = rep(c(1,0), 125), dim = c(5,5,5))
# calculate lacunarity at all box sizes
lac_curve <- lacunarity(a, box_sizes = "all")
# plot raw lacunarity curve
lac_plot(lac_curve)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.