traj_beta: Raise a trajectory function to a power

Description Usage Arguments Value Examples

View source: R/trajectories.R

Description

Raise a trajectory function to a power

Usage

1
traj_beta(t, traj, beta, ...)

Arguments

t

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

traj

function. The trajectory to transform.

beta

numeric. The power to raise the trajectory function to.

...

additional arguments to pass to trajectory function.

Value

A vector containing f(t)^β.

Examples

1
traj_beta(1:3, unif_traj, 2, level=2)

phylodyn documentation built on May 29, 2017, 1:28 p.m.