vm_p_girth.Rd
Calculate Girth Index
vm_p_girth(landscape, class_col = NULL, patch_col = NULL)
the input landscape image,
the name of the class column of the input landscape
the name of the id column of the input landscape
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 radius of maximum inscribed circle and radius of equal-area circle
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_p_girth(vector_patches, "class", "patch")
#> # A tibble: 40 × 5
#> level class id metric value
#> <chr> <chr> <chr> <chr> <dbl>
#> 1 patch 1 11 girth_idx 0.651
#> 2 patch 1 12 girth_idx 0.739
#> 3 patch 1 13 girth_idx 0.608
#> 4 patch 1 14 girth_idx 0.519
#> 5 patch 1 15 girth_idx 0.886
#> 6 patch 1 16 girth_idx 0.886
#> 7 patch 1 17 girth_idx 0.886
#> 8 patch 1 18 girth_idx 0.723
#> 9 patch 1 19 girth_idx 0.886
#> 10 patch 1 20 girth_idx 0.886
#> # ℹ 30 more rows