distweight_lulc: Calculate distance weighted land cover

View source: R/distweight_lulc.R

distweight_lulcR Documentation

Calculate distance weighted land cover

Description

Calculate distance weighted sum of raster classes, assuming middle pixel is focal cell.

Usage

distweight_lulc(land_raster, forage_range)

Arguments

land_raster

File path to land cover raster (centered on sampling location)

forage_range

Mean foraging range of bee community of interest (determines shape of distance weighting curve)

Details

Distance weighting is an exponential decline function with a maximum distance of 'forage_range' *2. See Lonsdorf et al (2009) for details. 'land_raster' must have a radius greater than 'forage_range'*2, but can be much larger (whole county). The raster used for distance weighting is cropped to radius of 'forage_range' times 2.

Examples

Usage example coming soon.

land-4-bees/beecoSp documentation built on March 19, 2024, 3:45 p.m.