Core area percentage of landscape (Core area metric)
lsm_c_cpland(landscape, directions, consider_boundary, edge_depth)# S3 method for RasterLayer
lsm_c_cpland(
landscape,
directions = 8,
consider_boundary = FALSE,
edge_depth = 1
)
# S3 method for RasterStack
lsm_c_cpland(
landscape,
directions = 8,
consider_boundary = FALSE,
edge_depth = 1
)
# S3 method for RasterBrick
lsm_c_cpland(
landscape,
directions = 8,
consider_boundary = FALSE,
edge_depth = 1
)
# S3 method for stars
lsm_c_cpland(
landscape,
directions = 8,
consider_boundary = FALSE,
edge_depth = 1
)
# S3 method for list
lsm_c_cpland(
landscape,
directions = 8,
consider_boundary = FALSE,
edge_depth = 1
)
Raster* Layer, Stack, Brick or a list of rasterLayers.
The number of directions in which patches should be connected: 4 (rook's case) or 8 (queen's case).
Logical if cells that only neighbour the landscape boundary should be considered as core
Distance (in cells) a cell has the be away from the patch edge to be considered as core cell
tibble
$$CPLAND = (\frac{\sum \limits_{j = 1}^{n} a_{ij}^{core}} {A}) * 100$$ where \(a_{ij}^{core}\) is the core area in square meters and \(A\) is the total landscape area in square meters.
CPLAND is a 'Core area metric'. It is the percentage of core area of class i in relation to the total landscape area. A cell is defined as core area if the cell has no neighbour with a different value than itself (rook's case). Because CPLAND is a relative measure, it is comparable among landscapes with different total areas.
McGarigal, K., SA Cushman, and E Ene. 2012. FRAGSTATS v4: Spatial Pattern Analysis Program for Categorical and Continuous Maps. Computer software program produced by the authors at the University of Massachusetts, Amherst. Available at the following web site: http://www.umass.edu/landeco/research/fragstats/fragstats.html
lsm_p_core
and lsm_l_ta
# NOT RUN {
lsm_c_cpland(landscape)
# }
Run the code above in your browser using DataLab