mspline_constant_coefs {survextrap} | R Documentation |
Determine M-spline basis coefficients which give a constant function.
Description
This works by obtaining the coefficients of the corresponding B-spline basis, which are equal if the B-spline is a constant function.
Usage
mspline_constant_coefs(mspline, logit = FALSE)
Arguments
mspline |
A list with components |
logit |
If |
Value
A numeric vector of the coefficients.
References
Ramsay, J. O. (1988). Monotone regression splines in action. Statistical Science, 3(4): 425-441.
[Package survextrap version 1.0 Index]