Learn R Programming

fb4package (version 2.0.0)

generate_reproduction_pattern: Generate seasonal reproduction pattern (Low-level)

Description

Creates a simplified seasonal reproduction pattern

Usage

generate_reproduction_pattern(
  days,
  peak_day,
  duration,
  max_spawn_fraction,
  pattern_type = "gaussian"
)

Value

Vector with reproductive fractions by day

Arguments

days

Vector of days of year

peak_day

Day of reproductive peak

duration

Duration of reproductive period (days)

max_spawn_fraction

Maximum fraction of weight lost

pattern_type

Pattern type ("gaussian", "uniform", "pulse")