vm_l_cai_mn.Rd
This function allows you to calculate the mean value of ratio of the core area and the area in a categorical landscape in vector data format
vm_l_cai_mn(landscape, edge_depth)
the input landscape image,
the fixed distance to the edge of the patch
the returned calculated mean value of core area index of the whole landscape 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_cai_mn(vector_landscape, edge_depth = 1)
#> # A tibble: 1 × 5
#> level class id metric value
#> <chr> <chr> <chr> <chr> <dbl>
#> 1 landscape NA NA cai_mn 26.3