From a fitted integrated step-selection function for a given position a redistribution kernel is calculated (i.e., the product of the movement kernel and the selection function).
redistribution_kernel(
x = make_issf_model(),
start = make_start(),
map,
fun = function(xy, map) {
extract_covariates(xy, map, where = "both")
},
covars = NULL,
max.dist = get_max_dist(x),
n.control = 1e+06,
n.sample = 1,
landscape = "continuous",
compensate.movement = landscape == "discrete",
normalize = TRUE,
interpolate = FALSE,
as.rast = FALSE,
tolerance.outside = 0
)
[fit_issf]
A fitted integrated step-selection function. Generated either with fit_issf()
or make make_issf_model()
.
[sim_start]
The start position in space and time. See make_start()
.
[SpatRaster]
A SpatRaster with all covariates.
[function]
A function that is executed on each location of the redistribution kernel. The default function is extract_covariates()
.
[tibble]
Additional covariates that might be used in the model (e.g., time of day).
[numeric(1)]
The maximum distance of the redistribution kernel.
[integer(1)]{1e6}
The number of points of the redistribution kernel (this is only important if landscape = "continuous"
).
[integer(1)]{1}
The number of points sampled from the redistribution kernel (this is only important if as.rast = FALSE
).
[character(1)]{"continuous"}
If "continuous
the redistribution kernel is sampled using a random sample of size n.control
. If landscape = "discrete"
each cell in the redistribution kernel is used.
[logical(1)]
Indicates if movement parameters are corrected or not. This only relevant if landscape = 'discrete'
.
[logical(1)]{TRUE}
If TRUE
the redistribution kernel is normalized to sum to one.
[logical(1)]{FALSE}
If TRUE
a stochastic redistribution kernel is interpolated to return a raster layer. Note, this is just for completeness and is computationally inefficient in most situations.
[logical(1)]{TRUE}
If TRUE
a SpatRaster
should be returned.
[numeric(1)]{0}
The proportion of the redistribution kernel that is allowed to be outside the map
.