Description Usage Arguments Details Value References See Also Examples

Perimeter-Area Fractal Dimension (Shape metric)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ```
lsm_l_pafrac(landscape, directions, verbose)
## S3 method for class 'RasterLayer'
lsm_l_pafrac(landscape, directions = 8,
verbose = TRUE)
## S3 method for class 'RasterStack'
lsm_l_pafrac(landscape, directions = 8,
verbose = TRUE)
## S3 method for class 'RasterBrick'
lsm_l_pafrac(landscape, directions = 8,
verbose = TRUE)
## S3 method for class 'stars'
lsm_l_pafrac(landscape, directions = 8, verbose = TRUE)
## S3 method for class 'list'
lsm_l_pafrac(landscape, directions = 8, verbose = TRUE)
``` |

`landscape` |
Raster* Layer, Stack, Brick or a list of rasterLayers. |

`directions` |
The number of directions in which patches should be connected: 4 (rook's case) or 8 (queen's case). |

`verbose` |
Print warning message if not sufficient patches are present |

*PAFRAC = \frac{2}{β}*

where *β* is the slope of the regression of the area against the perimeter
(logarithm) *N ∑ \limits_{i = 1}^{m} ∑ \limits_{j = 1}^{n} \ln a_{ij} = a + β N ∑ \limits_{i = 1}^{m} ∑ \limits_{j = 1}^{n} \ln p_{ij}*

PAFRAC is a 'Shape metric'. It describes the patch complexity of the landscape while being scale independent. This means that increasing the patch size while not changing the patch form will not change the metric. However, it is only meaningful if the relationship between the area and perimeter is linear on a logarithmic scale. Furthermore, if there are less than 10 patches in the landscape, the metric returns NA because of the small-sample issue.

None

1 <= PAFRAC <= 2

Approaches PAFRAC = 1 for patches with simple shapes and approaches PAFRAC = 2 for irregular shapes

tibble

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

Burrough, P. A. 1986. Principles of Geographical Information Systems for Land Resources Assessment. Monographs on Soil and Resources Survey No. 12. Clarendon Press, Oxford

`lsm_p_area`

,
`lsm_p_perim`

,

`lsm_c_pafrac`

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.