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
Examples
library(splines)
# NOT RUN {
splineOrder( interpSpline( weight ~ height, women ) )
# }
Community examples
Looks like there are no examples yet.