constructBasis | R Documentation |
This function construct response basis functions.
constructBasis( splitMidPointY, y = NULL, splineDf = 2, basis, newKnots = F, eps = 0.001 )
splitMidPointY |
vector of representative response values in each bin after discretization. |
y |
vector of responses. |
splineDf |
the number of response basis functions. |
basis |
a character or a function specifying sufficient statistics, i.e., spline basis. For |
newKnots |
if |
eps |
a non-negative scalar added to the |
This function returns a list of values.
z: the spline basis matrix.
penalty: a vector of penalty.factors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.