logistic_traj: Seasonal logistic trajectory

Description Usage Arguments Value Examples

View source: R/trajectories.R

Description

Seasonal logistic trajectory

Usage

1
2
logistic_traj(t, offset = 0, a = 2, period = 12, min = 10,
  max = 100)

Arguments

t

numeric vector of times at which to evaluate the trajectory function.

offset

numeric. By default t=0 is a local maximum. Offset is added to t to allow t=0 to represent a different point in the cycle.

a

numeric slopedness parameter.

period

numeric how much time passes before the cycle repeats.

min

numeric the smallest value of the cycle.

max

numeric the greatest value of the cycle.

Value

A vector containing a value of level for every element in t.

Examples

1
unif_traj(0:12)

mdkarcher/phylodyn documentation built on Nov. 24, 2021, 12:20 a.m.