insecticide_index: Calculate bee landscape indices

View source: R/insecticide_index.R

insecticide_indexR Documentation

Calculate bee landscape indices

Description

New implemenatation of landsacpe insecticide toxic load index (Douglas et al.). Uses FFT convolution to improve runtime.

Usage

insecticide_index(
  output_dir,
  landcover_path,
  pesticide_path,
  forage_range = NA,
  guild_table = NA,
  ins_method = "mean",
  agg_factor = NA,
  normalize = F,
  useW = F,
  check_pesttable = T,
  rastertag = "insecticide",
  verbose = T
)

Arguments

output_dir

Path to directory for output files.

landcover_path

Path to land cover raster, including base file name

pesticide_path

Path to pesticide load by land use table

forage_range

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

guild_table

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

ins_method

Insecticide toxic load measure to use. Specify 'oral', 'contact' or 'mean' (mean of 'oral' and 'contact').

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, optional

verbose

Include more log messages from model run?


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