Description Usage Arguments Value References Examples
Truncated Piecewise polynomial basis
1 | piecewise_poly_basis_fun(x, int_knots, p)
|
x |
A vector of a predictor variable. |
int_knots |
A vector containing the interior knots. |
p |
A value specifying the degree of the polynomial. |
A matrix consisting of (x_i - k_j)^p if x_i > k_j or 0 otherwise for
i = 1,...,n and j = 1,... k. Where n equals the length of x
and k equals the length of int_knots
.
wand2003unequalgroupoutlier
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.