Dispersal function that uses a fixed sized kernel and weighted dispersal towards areas that have a higher weight. Use case are e.g. animals that can sense their surroundings.
dispersal_fixed_weighted(abundance, weights, dispersal_kernel)
<numeric matrix>
The new abundance matrix.
<numeric matrix>
Values need to be non-negative.
<numeric matrix>
Values need to non-missing and between 0 and 1 for the result to make sense.
Needs to have same size as abundance.
<numeric matrix>
Dispersal kernel. Needs to have an odd size.