vm_c_fullness.Rd
Calculate Fullness Index
vm_c_fullness(landscape, class_col, n = 1000)
the input landscape image,
the name of the class column of the input landscape
number of local neighbourhoods to consider in calculating fullness
the function returns tibble with the calculated values in column "value", this function returns also some important information such as level, class, patch id and metric name.
ratio between the average fullness of small neighbourhoods (1
Angel, S., Parent, J., & Civco, D. L. (2010). Ten compactness properties of circles: Measuring shape in geography: Ten compactness properties of circles. The Canadian Geographer / Le Géographe Canadien, 54(4), 441–461. https://doi.org/10.1111/j.1541-0064.2009.00304.x
vm_c_fullness(vector_landscape, "class")
#>
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
#> # A tibble: 3 × 5
#> level class id metric value
#> <chr> <int> <int> <chr> <dbl>
#> 1 class 1 NA full_idx 0.877
#> 2 class 2 NA full_idx 0.892
#> 3 class 3 NA full_idx 0.892