Description Usage Arguments Value Examples
View source: R/HigherOrderRiskPreferences.R
Truncated p-th power function. Helper function for creating the B-Spline basis (Code by Paul Eilers, Package JOPS, http://statweb.lsu.edu/faculty/marx/JOPS_0.1.0.tar.gz)
1 |
x |
Function value. |
t |
Point of truncation. |
p |
degree of the truncated polynomial function. |
Returns a piece-wise defined basis functions for x > t.
1 | tpower(1, 2, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.