Learn R Programming

steps (version 1.0.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)

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.

Value

An object of class dispersal_function

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
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