lac_plot {lacunr} | R Documentation |
Plot lacunarity curve(s)
Description
Plot lacunarity curve(s)
Usage
lac_plot(..., log = TRUE, group_names = NULL)
lacnorm_plot(..., log = TRUE, group_names = NULL)
hr_plot(..., group_names = NULL)
Arguments
... |
One or more |
log |
A Boolean. |
group_names |
A character |
Value
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.
Examples
# 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)