This function allows you to calculate the Landscape division index in a categorical landscape in vector data format, Landscape division index can somehow reflect the probability that two randomly selected points are not located in the same patch

vm_l_division(landscape)

Arguments

landscape

the input landscape image

Value

the returned calculated index is in column "value", and this function returns also some important information such as level and metric name, Moreover, class number and the "id" column, although both are "NA" here in the landscape level

Examples

vm_l_division(vector_landscape)
#> # A tibble: 1 × 5
#>   level     class id    metric   value
#>   <chr>     <chr> <chr> <chr>    <dbl>
#> 1 landscape NA    NA    division 0.613