Learn R Programming

phylodyn (version 0.9.0)

boombust_traj: Boom and bust trajectory

Description

Boom and bust trajectory

Usage

boombust_traj(t, bust = 1, scale = 1000)

Arguments

t
numeric vector of times at which to evaluate the trajectory function.
bust
numeric time when bust begins.
scale
numeric maximum that the trajectory attains when the bust begins.

Value

A vector containing the trajectory value corresponding to every element in t.

Examples

Run this code
boombust_traj(0:10)

Run the code above in your browser using DataLab