build_B_spline_basis {ungroup} | R Documentation |
Construct B-spline basis This is an internal function which constructs B-spline basis to be used in pclm estimation
Description
Construct B-spline basis This is an internal function which constructs B-spline basis to be used in pclm estimation
Usage
build_B_spline_basis(X, Y, kr, deg, diff, type)
Arguments
X |
vector with ages |
Y |
vector with years |
kr |
Knot ratio. Number of internal intervals used for defining 1 knot in
B-spline basis construction. See |
deg |
Degree of the splines needed to create equally-spaced B-splines basis over an abscissa of data. |
diff |
An integer indicating the order of differences of the components of PCLM coefficients. Default value: 2. |
type |
Type of PCLM model. Options: |
See Also
[Package ungroup version 1.4.4 Index]