f | R Documentation |
Piecewise, smooth function that increases linearly with negative arguments.
f(x) = \left\{
\begin{array}{ll}
-(x - x_0/2) & x < 0 \\
\frac{1}{2x_0}(x - x_0)^2 & 0 < x <x_0 \\
0 & x \ge x_0
\end{array} \right.
f(x, x0)
x |
Main argument |
x0 |
The cut-off parameter. Above this value the function is zero. |
The value of the function.
David Sterratt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.