Learn R Programming

Biolinv (version 0.1-3)

fx: One dimentional dispersal kernel function.

Description

Computes user-defined one dimensional dispersal kernels.

Usage

fx(x, a, c)

Arguments

x

vector of distances.

a

Alpha value.

c

C value.

Value

numeric vector.

Examples

Run this code
# NOT RUN {
plot(1:1000, fx(x= 1:1000, a= 300, c=2), type='l',
 ylab= 'Probablitiy', xlab='Distance',
 main= 'One Dimensional Dispersal Kernel \n Alpha= 300; C= 2')
# }

Run the code above in your browser using DataLab