tpower {utilityFunctionTools} | R Documentation |
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)
tpower(x, t, p)
x |
Function value. |
t |
Point of truncation. |
p |
degree of the truncated polynomial function. |
Returns a piece-wise defined basis functions for x > t.
tpower(1, 2, 3)