splineOrder

Determine the Order of a Spline

Return the order of a spline object.

Keywords
models
Usage
splineOrder(object)
Arguments
object
An object that inherits from class "spline".
Details

The order of a spline is the number of coefficients in each piece of the piecewise polynomial representation. Thus a cubic spline has order 4.

Value

A positive integer.

See Also

splineKnots, interpSpline, periodicSpline

Aliases
  • splineOrder
Examples
library(splines) splineOrder( interpSpline( weight ~ height, women ) )
Documentation reproduced from package splines, version 3.2.4, License: Part of R 3.2.4

Community examples

Looks like there are no examples yet.