nesting_index: Calculate landscape nesting quality index

View source: R/nesting_index.R

nesting_indexR Documentation

Calculate landscape nesting quality index

Description

Variation of landscape nesting quality index (Lonsdorf et al 2009). Uses FFT convolution to improve runtime.

Usage

nesting_index(
  output_dir,
  landcover_path,
  habitattable_path = NA,
  habitat_table,
  nest_locations,
  forage_range = NA,
  guild_table = NA,
  agg_factor = NA,
  normalize = T,
  useW = F,
  rastertag = NA,
  verbose = T
)

Arguments

output_dir

Path to directory for output files.

landcover_path

Path to land cover raster, including base file name

habitattable_path

Path to habitat quality by land use table (CDL class integers should be in column called 'LULC')

habitat_table

Habitat quality by land use table (instead of habitattable_path)

nest_locations

Nesting types to include. Must match names of habitat table.

forage_range

Foraging range (in m) to use for distance weighting scores surrounding focal cell.

guild_table

Bee community to use to model foraging activity. Includes foraging range and relative abundance of each species.

#optional parameters

agg_factor

Aggregation factor for large rasters (use 4 to convert 50m to 120m resolution CDL)

normalize

Normalize values by the number of cells within each moving window?

rastertag

Text string to include in name of output raster

verbose

Include more log messages from model run?

Details

It is necessary to specify 'forage_range' OR 'guild_table,' not both.


land-4-bees/SpeedyBeeModel documentation built on Sept. 27, 2022, 1:17 a.m.