Learn R Programming

steps (version 1.3.0)

exponential_dispersal_kernel: Negative exponential dispersal kernel

Description

This function determines the proportion of redistribution based on distance.

Usage

exponential_dispersal_kernel(distance_decay = 0.5, normalize = FALSE)

Value

An object of class dispersal_function

Arguments

distance_decay

(exponential dispersal parameter) controls the rate at which the population disperses with distance

normalize

(exponential dispersal parameter) should the normalising constant be used - default is FALSE.

Examples

Run this code

if (FALSE) {
dists <- seq(0, 100, 1)

exp_dispersal_fun <- exponential_dispersal_kernel(distance_decay = 50)

plot(dists, exp_dispersal_fun(dists), type = 'l')
}

Run the code above in your browser using DataLab