Description Usage Arguments See Also

Construct B-spline basis This is an internal function which constructs B-spline basis to be used in pclm estimation

1 | ```
build_B_spline_basis(X, Y, kr, deg, diff, type)
``` |

`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: |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.