Description Usage Arguments Value
View source: R/helper_for_onestep.R
generate step function object using y value and corresponding jump points
1 | create_step_func(y.vec, t.vec)
|
y.vec |
a vector of step function values |
t.vec |
a vector for all jump locations of step function. NOTE: the first element value of y.vec is the flat part LEFT of the first jump point specified in t.vec |
sfun a function object, that can perform any mapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.