refit.det: Refit detectability raster layers function

Description Usage Arguments

Description

This function is called only if a stochastic disturbance is modelled at sites. It re-fits the detectability raster layers for disturbance sensitive species given simulated disturbance events and the disturbance history A new raster stack is returned for each detection method

Usage

1
2
refit.det(det.method1.new, det.method2.new, det.method3.new, det.method4.new,
  layers, time.fire, fire.freq, jj, dist.occ.time, dist.occ.freq, n.species)

Arguments

det.method1.new

An array of detectability estimates for each species at sites over time using method 1.

det.method2.new

An array of detectability estimates for each species at sites over time using method 2.

det.method3.new

An array of detectability estimates for each species at sites over time using method 3.

det.method4.new

An array of detectability estimates for each species at sites over time using method 4.

layers

An array of covararites at each site used to update the detectability arrays given the simulated disturbances

time.fire

A vector specifying the time since a disturbance at each site in year jj given the simulated disturbances

fire.freq

A vector specifying the number of disturbances at sites during a 15 year moving window

jj

The year of the monitoring program

dist.occ.time

An integer indentifying which layer in the covariate raster stack is the time since the last disturbance layer

dist.occ.freq

An integer indentifying which layer in the covariate raster stack is the disturbance frequency layer

n.species

Number of species included in power simulations


dsouthwell/TestPackagev2 documentation built on May 28, 2019, 9:38 a.m.