Learn R Programming

metafolio (version 0.1.0)

ricker: A simple Ricker model

Description

A simple Ricker model

Usage

ricker(spawners, a, b)

Arguments

spawners

Spawner abundance

a

Ricker productivity parameter. Recruits are e^a at the origin.

b

Ricker density dependent parameter.

Value

Returns the number of recruits.

Examples

Run this code
# NOT RUN {
S <- seq(100, 1000, length.out = 100)
R <- ricker(S, a = 1.9, b = 900)
plot(S, R)
# }

Run the code above in your browser using DataLab