Description Usage Arguments Value

Create a spline with given intervals and quadratic coefficients. This is an internal function that is called from the Schumaker function. It roughly works like ppmak in matlab.

1 |

`IntStarts` |
This is a vector with the start of each interval. |

`SpCoefs` |
This is a matrix with three columns. The first is the coefficient of the squared term followed by linear term coefficients and constants. |

`Vectorised` |
This is a boolean parameter. Set to TRUE if you want to be able to input vectors to the created spline. If you will only input single values set this to FALSE as it is a bit faster. |

A spline function for the given intervals and quadratic curves. Each function takes an x value (or vector if Vectorised = TRUE) and outputs the interpolated y value (or relevent derivative).

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.