vm_l_siei.Rd
This function allows you to calculate the Simpson's evenness index in a categorical landscape in vector data format, Simpson's evenness index is diversity index. It is the ratio between the actual Simpson's diversity index and the theoretical maximum Simpson's diversity index
vm_l_siei(landscape, class_col)
the input landscape image,
the name of the class column of the input landscape
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
vm_l_sidi(vector_landscape, "class")
#> # A tibble: 1 × 5
#> level class id metric value
#> <chr> <chr> <chr> <chr> <dbl>
#> 1 landscape NA NA sidi 0.613