piecewise.linear: Generate a piecewise linear trajectory

Description Usage Arguments Value Author(s)

Description

Generate a piecewise linear trajectory

Usage

1
piecewise.linear(mixing.values, change.times, n)

Arguments

mixing.values

the mixing values, including initial and final values (so this has to have length two more than change.times.

change.times

the time points at which the linear trajectory changes

n

the total number of time points to generate

Value

the piecewise linear trajectory

Author(s)

Sebastian Funk


sbfnk/dynmod documentation built on May 29, 2019, 3:21 p.m.