Learn R Programming

phylodyn (version 0.9.0)

exp_traj: Exponential trajectory

Description

Exponential trajectory

Usage

exp_traj(t, scale = 1000, rate = 1)

Arguments

t
numeric vector of times at which to evaluate the trajectory function.
scale
value to return at t=0.
rate
exponential decay rate.

Value

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

Examples

Run this code
exp_traj(0:10, scale = 100, rate = 0.5)

Run the code above in your browser using DataLab