Function to obtain a habitat kernel from a fitted (i)SSF.
habitat_kernel(coef, resources, exp = TRUE)movement_kernel(scale, shape, template, quant = 0.99)
simulate_ud(movement_kernel, habitat_kernel, start, n = 100000L)
simulate_tud(movement_kernel, habitat_kernel, start, n = 100, n_rep = 5000)
A RasterLayer
.
[list]
Vector with coeffiecients, not yet implemented.
[RasterLayer, RasterStack]
The resources.
A logical scalar, indicating whether or not the resulting habitat kernel should be exponentiated. This is usually TRUE
.
[numeric](1)
Scale and scale parameter of the gamma distribution of step lengths.
[RasterLayer,RasterStack]
A raster serving as template for the simulations.
A numeric scalar, quantile of the step-length distribution that is the maximum movement distance.
[RasterLayer]
The movement kernel.
[RasterLayer]
The habitat kernel.
[numeric(2)]
Starting point of the simulation.
[integer(1)=1e5]
The number of simulation steps.
[integer(1)=5e3]{>0}
The number of times the animal walks of the final position. The mean of all replicates is returned.
Johannes Signer (jmsigner@gmail.com)
movement_kernel()
: calculates a movement kernel from a fitted
(i)SSF. The method is currently only implemented for the gamma
distribution.
The habitat kernel is calculated by multiplying resources with their corresponding coefficients from the fitted (i)SSF.
simulate_ud()
: simulates a utilization distribution (UD) from a fitted Step-Selection Function.
simulate_tud()
: Is a convenience wrapper around simulate_ud
to simulate transition UDs (i.e., starting at the same position many times and only simulate for a short time).
avgar2016amt signer2017amt